Setup
Example
agent_with_knowledge.py
Without an
embedder, UpstashVectorDb uses Upstash’s hosted embedding models. Create your index with an embedding model in the Upstash Console. To embed locally instead, pass an embedder and make sure its dimension matches the index.Async Support ⚡
Upstash also supports asynchronous operations, enabling concurrency and leading to better performance.
async_upstash_db.py