Skip to contents

Builds (or reuses) a codebase store and attaches ragnar's retrieval tool so the model can semantically search the project. No-op when ragnar is missing or indexing yields nothing.

Usage

register_rag_tool(chat, cwd = getwd(), store = NULL)

Arguments

chat

An ellmer::Chat object.

cwd

Character. Project root.

store

Optional pre-built ragnar store (skips rebuilding).

Value

Invisibly chat.