rag_with.Rd
Create a text format that augments prompts with relevant text chunks retrieved from a text store.
rag_with(store, k = 5L, min_similarity = 0L, ...)
A RetrievalAugmentedFormat
object that can be passed to
prompt_as
, to which the return value of rag_with
is passed.
prompt_as
, to which the return value of rag_with
should be passed in order to configure an agent to use RAG.
The RAG capabilities of wizrd are currently experimental and quite primitive. They may be removed or moved to a different package in the future.