org.llm4s.agent.guardrails.rag.RAGContext
See theRAGContext companion object
Context provided to RAG guardrails for enhanced validation.
RAGContext encapsulates all the information a guardrail needs to validate a response in the context of a RAG (Retrieval-Augmented Generation) workflow.
Value parameters
- query
-
The original user query
- retrievedChunks
-
The chunks retrieved from the vector store
- sources
-
Optional source identifiers for each chunk (file paths, URLs, etc.)
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article