GuardrailReview

org.llm4s.agent.graph.middleware.GuardrailReview
See theGuardrailReview companion object
final case class GuardrailReview

What a reviewer is asked when a guardrail refuses a turn's query (Input) or its final answer (Output): the first failing guardrail, every failure's error, and the refused text.

Attributes

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

Members list

Value members

Concrete methods

def withGuardrail(g: String): GuardrailReview
def withReason(r: String): GuardrailReview
def withText(t: String): GuardrailReview

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product