| vdb_search | R Documentation |
Search a collection
vdb_search(db, query, limit = 10, mode = "hybrid", show = TRUE)
db |
Vectrix object or collection name |
query |
Search query |
limit |
Number of results |
mode |
Search mode: "dense", "sparse", "hybrid", "ultimate" |
show |
Print results |
Results object
## Not run:
results <- vdb_search(db, "machine learning")
results <- vdb_search("my_docs", "AI", limit = 5)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.