powered by
Search a collection
vdb_search(db, query, limit = 10, mode = "hybrid", show = TRUE)
Results object
Vectrix object or collection name
Search query
Number of results
Search mode: "dense", "sparse", "hybrid", "ultimate"
Print results
if (FALSE) { results <- vdb_search(db, "machine learning") results <- vdb_search("my_docs", "AI", limit = 5) }
Run the code above in your browser using DataLab