Skip to content

Pgvector basic implementation - #138

Open
lupodevelop wants to merge 9 commits into
datapizza-labs:mainfrom
lupodevelop:pgvector-basic-implementation
Open

Pgvector basic implementation#138
lupodevelop wants to merge 9 commits into
datapizza-labs:mainfrom
lupodevelop:pgvector-basic-implementation

Conversation

@lupodevelop

Copy link
Copy Markdown

This pull request introduces a new PostgreSQL + pgvector vectorstore plugin for the datapizza-ai framework, providing a production-ready implementation, documentation, and comprehensive test coverage. It also includes namespace package support and a minor update to the vectorstore core interface.

lupodevelop and others added 9 commits March 15, 2026 10:36
Include datapizza-ai-vectorstores-pgvector in the workspace: added the package to the members list and declared datapizza-ai-vectorstores-pgvector = {workspace = true} so the pgvector vectorstore is part of the monorepo build and dependency graph.
Add new docs/API Reference/Vectorstore/pgvector_vectorstore.md documenting the PgVectorVectorstore. Includes installation, basic usage examples, optional psycopg_pool connection pooling, JSONB metadata filtering, batch insert behavior (executemany), clean shutdown (close/aclose), and collection/index management examples.
Add a new package config for datapizza-ai-vectorstores-pgvector
Introduce a new README for the datapizza-ai-pgvector vectorstore implementation.
Introduce PgVectorVectorstore: a Postgres + pgvector-backed implementation of the Vectorstore interface. Provides sync/async APIs and optional connection pooling, DSN normalization, safe schema/table quoting, and local + DB-backed collection config caching.
Add a comprehensive test suite for the PgVector vectorstore integration and unit behavior.
Introduce namespace support for datapizza.vectorstores and add a pgvector vectorstore package.
Normalize and verify vector collection schemas when creating collections in the PgVector vectorstore.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant