mirror of
https://github.com/semantica-agi/semantica.git
synced 2026-08-29 04:26:20 +00:00
chore: Export PgVectorStore and add pgvector dependencies
- Add PgVectorStore to vector_store exports - Add vectorstore-pgvector optional dependency - Include psycopg[binary], psycopg2-binary, pgvector
This commit is contained in:
+2
-1
@@ -128,9 +128,10 @@ vectorstore-qdrant = ["qdrant-client>=1.0.0"]
|
||||
vectorstore-weaviate = ["weaviate-client>=4.0.0"]
|
||||
vectorstore-pinecone = ["pinecone-client>=3.0.0"]
|
||||
vectorstore-milvus = ["pymilvus>=2.0.0"]
|
||||
vectorstore-pgvector = ["psycopg[binary]>=3.0.0", "psycopg2-binary>=2.9.0", "pgvector>=0.2.0"]
|
||||
|
||||
vectorstore-all = [
|
||||
"semantica[vectorstore-qdrant,vectorstore-weaviate,vectorstore-pinecone,vectorstore-milvus]"
|
||||
"semantica[vectorstore-qdrant,vectorstore-weaviate,vectorstore-pinecone,vectorstore-milvus,vectorstore-pgvector]"
|
||||
]
|
||||
|
||||
# ---- Infra / Queues / Workers ----
|
||||
|
||||
@@ -147,6 +147,7 @@ from .methods import (
|
||||
)
|
||||
from .milvus_store import MilvusStore, MilvusClient, MilvusCollection, MilvusSearch
|
||||
from .namespace_manager import Namespace, NamespaceManager
|
||||
from .pgvector_store import PgVectorStore
|
||||
from .pinecone_store import PineconeStore, PineconeClient, PineconeIndex, PineconeSearch
|
||||
from .qdrant_store import QdrantStore, QdrantClient, QdrantCollection, QdrantSearch
|
||||
from .registry import MethodRegistry, method_registry
|
||||
@@ -189,6 +190,8 @@ __all__ = [
|
||||
"PineconeClient",
|
||||
"PineconeIndex",
|
||||
"PineconeSearch",
|
||||
# PgVector
|
||||
"PgVectorStore",
|
||||
# Hybrid search
|
||||
"HybridSearch",
|
||||
"MetadataFilter",
|
||||
|
||||
Reference in New Issue
Block a user