Skip to main content

RAGResult

Defined in the models module.
Result from a RAG query. Attributes: answer: The generated answer text citations: List of source citations context_used: The context string passed to the LLM query: The original query metadata: Additional metadata (timing, model info, etc.)

Properties

answer
str
No description available.
citations
List
No description available.
context_used
str
No description available.
query
str
No description available.
metadata
Dict
No description available.

Methods

  • from_dict: Create from dictionary.
  • to_dict: Convert to dictionary.