Skip to main content
This page is generated from inspect.signature(RagRails). Run RAGRAILS_SOURCE=/path/to/ragrails uv run python scripts/generate-reference.py from the docs repo after SDK signature changes.
SDK defaults live on each RagRails(...) instance. They do not write .ragrails.toml and they do not change CLI or REST defaults. Use SDK Overview for workflow guidance. Use this page when you need exact method signatures.

Constructor

Ingestion

Chunking

Embedding

Storing

Retrieval

Chat

Pipeline

Important validation notes

  • rag.llm() requires a model unless llm={"model": ...} was configured on the constructor.
  • Provider, embedding, vector-store, and reranker defaults are constructor defaults only.
  • SDK fetch(apis=...) supports batch API ingestion; REST /v1/ingest/api currently requires url.

Config objects