Skip to main content
LanceDb supports vector, full-text, and hybrid search. A filesystem path creates a local database. A db:// URI connects to LanceDB Cloud and requires api_key= or LANCEDB_API_KEY.
In Agno v2.7.2, dictionary filters are applied after LanceDB returns the limited candidates, and filter-expression lists are ignored. Filtered searches can return fewer documents than requested. Search results also omit the stored LanceDB row ID.
agent_with_knowledge.py

Run the Example

1

Set up your virtual environment

2

Install dependencies

3

Export the API key

4

Run the example

Search Modes

Parameters

Next Steps

Developer Resources