Skip to main content

Crate aprender_rag_cli

Crate aprender_rag_cli 

Source
Expand description

Trueno-RAG CLI

Command-line interface for the Trueno-RAG pipeline.

§Features

  • embeddings - Enable production semantic embeddings via fastembed (ONNX Runtime)

§Usage

# Build with semantic embeddings support
cargo build --release --features embeddings

# Index documents with semantic embeddings
trueno-rag index --path docs/ --output index/ --embedder semantic

# Index with recursive directory walking and subtitle support
trueno-rag index --path /data/ --output index/ --recursive

# Index with timestamp-aware chunking for media transcripts
trueno-rag index --path /data/ --output index/ --recursive --chunk-strategy timestamp

Structs§

Cli

Enums§

BackendType
Compute backend for transcription
ChunkStrategy
Chunking strategy selection
Commands
Every command the Trueno-RAG CLI offers.
EmbedderType
Embedder type selection
SemanticModel
Model selection for semantic embeddings

Functions§

dispatch
Run one already-parsed command.
run
Parse argv and run one command. This is the whole of the standalone trueno-rag binary.