Skip to main content
The query side has two CLI entry points. ragrails query embeds a query and prints matching chunks. ragrails chat retrieves context and generates an answer.

Search with query

Output:

Rerank Results

Generate an Answer with chat

Use --history-file to persist multi-turn history:

Interactive Chat

The interactive REPL keeps session history, can stream answers, and exposes /tools, /model, /stream, and /debug commands.

Choose the Command

Retrieval

Tune lower-level retrieval.

Chat

Use one-shot and interactive chat.