Indexing Engine
Naive Vector Engine (Default)
from symai.interfaces import Interface
db = Interface('naive_vectordb', index_name="my_index")
db("Hello world", operation="add")
result = db("Hello", operation="search", top_k=1)
print(result.value) # most relevant matchdocs = ["Alpha document", "Beta entry", "Gamma text"]
db = Interface('naive_vectordb', index_name="my_index")
db(docs, operation="add")
db("save", operation="config")
# Load or purge as neededQdrant RAG Engine
Setup
Option 1: Local Qdrant Server (via symserver)
Option 2: Cloud Qdrant
Basic Usage
Local Search with citations
Collection Management
Document Chunking and RAG
Point Operations
Configuration Options
Environment Variables
Embedding Model & API Key Behavior
Installation
See Also
Last updated