| vdb_add | R Documentation |
Add documents to a collection
vdb_add(db, texts, metadata = NULL, ids = NULL)
db |
Vectrix object or collection name |
texts |
Character vector of texts |
metadata |
Optional metadata |
ids |
Optional IDs |
Vectrix object
## Not run:
vdb_add(db, c("Document 1", "Document 2"))
vdb_add("my_docs", c("Another doc"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.