ParameterTypeDefaultDescription
urilancedb.URI"/tmp/lancedb"URI path or connection string for LanceDB
tableOptional[lancedb.db.LanceTable]NonePre-configured LanceDB table instance
table_nameOptional[str]NoneName of the table to store vectors and metadata
connectionOptional[lancedb.LanceDBConnection]NonePre-configured LanceDB connection
api_keyOptional[str]NoneAPI key for cloud LanceDB authentication
embedderOptional[Embedder]OpenAIEmbedder()Embedder instance to generate embeddings
search_typeSearchTypeSearchType.vectorType of search to perform (vector, keyword, or hybrid)
distanceDistanceDistance.cosineDistance metric to use for similarity search
nprobesOptional[int]NoneNumber of probes for approximate nearest neighbor search
rerankerOptional[Reranker]NoneOptional reranker instance to rerank search results
use_tantivyboolTrueWhether to use Tantivy for full-text search indexing