Comparing Two Inputs to Validate a Response
Explore how to validate AI-generated responses by comparing two text inputs to detect contradictions. Understand the differences between structural and meaningful correctness and practice prompt design and checking methods to ensure reliable AI interactions in frontend applications.
The last two lessons asked for things: a fixed set of options, a limited length. Asking works often enough to be worth doing and not often enough to be relied on. This lesson is about that gap.
We'll cover the following:
What a prompt cannot guarantee
Two kinds of correctness
What checking asks
Practice ...