Skip to contents

Return optional RAG tools

Usage

rag_tools(search_fun = NULL, store = NULL, top_k = 3L, ...)

Arguments

search_fun

Optional search function to wrap with rag_tool().

store

Optional Ragnar store object or path.

top_k

Default number of chunks to retrieve from a Ragnar store.

...

Additional arguments passed to rag_tool().

Value

A list of tools.