RAGGuardrail

org.llm4s.agent.guardrails.rag.RAGGuardrail
See theRAGGuardrail companion trait
object RAGGuardrail

Companion object with utilities for RAG guardrails.

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def all(guardrails: Seq[RAGGuardrail]): RAGGuardrail

Create a composite RAG guardrail that runs all guardrails in sequence.

Create a composite RAG guardrail that runs all guardrails in sequence.

All guardrails must pass for the composite to pass. Processing stops at the first failure.

Value parameters

guardrails

The RAG guardrails to compose

Attributes

Returns

A composite RAG guardrail