Agno Weaviate Query Agent
vector-searchvector-databaseretrieval-augmented-generationllm-frameworksfunction-callingweaviate-recipesintegrationsagnoPythongenerative-aillm-agent-frameworks
Export
Weaviate Query Agent with Agno
This notebook will show you how to define the Weaviate Query Agent as a tool through Agno.
Requirements
- Weaviate Cloud instance (WCD): The Weaviate Query Agent is only accessible through WCD at the moment. You can create a serverless cluster or a free 14-day sandbox here.
- Install Agno with
pip install agno. We're using version1.1.8for this notebook - Install the Weaviate Agents package with
pip install weaviate-agents - You'll need a Weaviate cluster with data. If you don't have one, check out this notebook to import the Weaviate Blogs.
Agno Resources
Learn more about Agno and how to build multimodal agents here!
Import libraries and keys
[1]
[2]
Define Query Agent function
[3]
Define agent
[9]
Query time
[11]
Output()
None
sys:1: ResourceWarning: Unclosed socket <zmq.Socket(zmq.PUSH) at 0x11921f150> ResourceWarning: Enable tracemalloc to get the object allocation traceback