ragnar_store_update | R Documentation |
RagnarStore
Inserts or updates chunks in a RagnarStore
ragnar_store_update(store, chunks)
store |
a |
chunks |
Content to update. The precise input structure depends on
|
Store Version 2
chunks
must be MarkdownDocumentChunks
object.
Store Version 1
chunks
must be a data frame containing origin
, hash
, and text
columns. We first filter out chunks for which origin
and hash
are already
in the store. If an origin
is in the store, but with a different hash
, we
replace all of its chunks with the new chunks. Otherwise, a regular insert is
performed.
This can help avoid needing to compute embeddings for chunks that are already in the store.
store
, invisibly.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.