Skip to main content
ragrails embed reads chunk JSON from --input-dir, generates vectors, and writes embedded.json to --output-dir.

Command

Output:
The CLI embeds with document input type for indexing. Query-time embedding happens inside query, retrieve, and chat.
Use the same embedding provider/model for indexing and retrieval. Vectors from different models are not comparable.

Options

Next Stage

Chunking

Create chunks.

Storing

Store embedded chunks.