Documentation Index
Fetch the complete documentation index at: https://docs-v1.agno.com/llms.txt
Use this file to discover all available pages before exploring further.
Here’s how vector databases are used with Agents:
Chunk the information
Break down the knowledge into smaller chunks to ensure our search query
returns only relevant results.
Load the knowledge base
Convert the chunks into embedding vectors and store them in a vector
database.
Search the knowledge base
When the user sends a message, we convert the input message into an
embedding and “search” for nearest neighbors in the vector database.
Many vector databases also support hybrid search, which combines the power of vector similarity search with traditional keyword-based search. This approach can significantly improve the relevance and accuracy of search results, especially for complex queries or when dealing with diverse types of data.
Hybrid search typically works by:
- Performing a vector similarity search to find semantically similar content.
- Conducting a keyword-based search to identify exact or close matches.
- Combining the results using a weighted approach to provide the most relevant information.
This capability allows for more flexible and powerful querying, often yielding better results than either method alone.
⚡ Asynchronous Operations
Several vector databases support asynchronous operations, offering improved
performance through non-blocking operations, concurrent processing, reduced
latency, and seamless integration with FastAPI and async agents.
When building with Agno, use the aload methods for async
knowledge base loading in production environments.
Supported Vector Databases
The following VectorDb are currently supported:
*hybrid search supported
Each of these databases has its own strengths and features, including varying levels of support for hybrid search and async operations. Be sure to check the specific documentation for each to understand how to best leverage their capabilities in your projects.