GuardrailConfig

org.llm4s.agent.guardrails.rag.RAGGuardrails.GuardrailConfig
final case class GuardrailConfig(inputGuardrails: Seq[InputGuardrail], outputGuardrails: Seq[OutputGuardrail], ragGuardrails: Seq[RAGGuardrail])

Result type for guardrail configurations.

Value parameters

inputGuardrails

Guardrails applied to user input

outputGuardrails

Guardrails applied to LLM output

ragGuardrails

RAG-specific guardrails with context awareness

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product