-
Notifications
You must be signed in to change notification settings - Fork 0
Vector Database
gitpavleenbali edited this page Feb 17, 2026
·
2 revisions
Semantic search and RAG with vector databases.
See VectorDB-Module for full documentation.
from pyai.vectordb import ChromaDB
# Create store
db = ChromaDB(collection="knowledge")
# Add documents
db.add("PYAI is a Python SDK for AI agents")
db.add_documents(["doc1.txt", "doc2.pdf"])
# Search
results = db.search("What is PYAI?", top_k=5)| Database | Description |
|---|---|
| ChromaDB | Local, embedded vector store |
| Pinecone | Cloud-native, scalable |
| Qdrant | Self-hosted, feature-rich |
| Weaviate | GraphQL-based |
- Semantic similarity search
- Document ingestion
- Metadata filtering
- Hybrid search
- Multiple embedding models
Intelligence, Embedded.