Ingest documents into the pipeline
Documents to ingest
Ingestion options
Ingestion result with statistics
Retrieve relevant documents for a query
Search query
Retrieval options
Matching documents with scores
Query with retrieval-augmented generation
User query
Retrieval options
OptionalsystemPrompt: stringOptional system prompt for generation
Generated response with context and token usage
Clear all documents from the pipeline
Get statistics about the pipeline
Pipeline statistics
Standard RAG pipeline implementation.
Orchestrates the complete RAG workflow:
Example