Weaviate
Open-source vector database with GraphQL API.Setup
Usage
Configuration
| Option | Description |
|---|---|
url | Weaviate server URL |
api_key | API key (for cloud) |
Weaviate vector store for PraisonAI
# Docker
docker run -d -p 8080:8080 semitechnologies/weaviate
pip install weaviate-client
from praisonai.persistence.factory import create_knowledge_store
store = create_knowledge_store("weaviate", url="http://localhost:8080")
store.create_collection("Documents", dimension=384)
store.insert("Documents", [doc])
results = store.search("Documents", query_embedding, limit=5)
| Option | Description |
|---|---|
url | Weaviate server URL |
api_key | API key (for cloud) |