org.llm4s.agent.guardrails.builtin.LLMQualityGuardrail
See theLLMQualityGuardrail companion class
Attributes
-
Companion
-
class
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Self type
-
Members list
Builds a quality guardrail for a query.
Builds a quality guardrail for a query.
Value parameters
-
client
-
the client that makes the judge call
-
originalQuery
-
the query the response is judged against
-
threshold
-
the lowest score that passes (default 0.7)
Attributes
Builds a quality guardrail with a threshold of 0.85.
Builds a quality guardrail with a threshold of 0.85.
Value parameters
-
client
-
the client that makes the judge call
-
originalQuery
-
the query the response is judged against
Attributes