Skip to content

Saveimagebank

flowtask.components.SaveImageBank

SaveImageBank

SaveImageBank(loop=None, job=None, stat=None, **kwargs)

Bases: FlowComponent

SaveImageBank.

Save images into a postgreSQL Table, with UPSERT and optional evaluation for duplicates.

pgvector_init async

pgvector_init(conn)

Initialize pgvector extension in PostgreSQL.

run async

run()

Run the task.

qid

qid(name)

Very small helper to quote SQL identifiers safely. Raises if name contains anything but letters, digits or '_'.