CrigPostgres::PostgresVectorStore(E)
PostgreSQL vector store implementation
Constructors
new(embedding_model : E, db : DB::Database, documents_table : String = "documents", distance_function : PgVectorDistanceFunction = PgVectorDistanceFunction::Cosine)
Sourcewith_defaults(model : E, db : DB::Database) : self forall E
SourceInstance methods
Insert documents with their embeddings