Pgvector basic implementation - #138
Open
lupodevelop wants to merge 9 commits into
Open
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.