VectorDbs
LanceDB Agent Knowledge
Setup
Example
agent_with_knowledge.py
LanceDb Params
Parameter | Type | Default | Description |
---|---|---|---|
uri | str | - | The URI to connect to. |
table | LanceTable | - | The Lance table to use. |
table_name | str | - | The name of the table to use. |
connection | DBConnection | - | The database connection to use. |
api_key | str | - | The API key to use. |
embedder | Embedder | - | The embedder to use. |
search_type | SearchType | vector | The search type to use. |
distance | Distance | cosine | The distance to use. |
nprobes | int | - | The number of probes to use. More Info |
reranker | Reranker | - | The reranker to use. More Info |
use_tantivy | bool | - | Whether to use tantivy. |