Skip to main content

Stability

SDK Usage

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

The Stability metric ensures that your AI agent responds consistently to similar or paraphrased prompts. It evaluates whether the agent maintains coherent and predictable behavior across semantically equivalent inputs, which is crucial for reliability and user trust.

FAQs

Why is Stability important?

If your agent gives inconsistent answers to reworded or similar questions, users may lose confidence in its reliability. Stability helps identify such inconsistencies.

How many responses should I provide?

At least two semantically similar responses are require