Skip to content

latent.agents.judges.faithfulness

FaithfulnessJudge -- scores how faithful a response is to provided context.

Classes

FaithfulnessScore

FaithfulnessScore()

Score schema for response faithfulness.

Functions

FaithfulnessJudge

FaithfulnessJudge(model: str, kwargs = {}) -> Judge[FaithfulnessScore]

Factory returning a Judge that scores response faithfulness.

Attributes

PROMPT_TEMPLATE

SYSTEM_PROMPT