Skip to main content

Adherence

SDK Usage

Learn how to evaluate this metric programmatically in the Trustwise SDK Documentation.

The Adherence metric checks whether your AI agent follows specific policies, rules, or guidelines defined by you. This is vital for ensuring the agent aligns with domain-specific standards, regulations, or organizational principles.

FAQs

Why is Adherence evaluation important?

It ensures that the agent maintains compliance with legal, ethical, or brand-specific guidelines in its responses.

How is the policy defined?

You provide the text of the policy the agent must adhere to when responding.

What is a good Adherence score?

A high score means the response clearly demonstrates alignment with the defined policy. A low score indicates deviation or omission.