Evaluating and refining prompts · Question 31 of 60

Output analysis reveals that the LLM regularly invents fields in API tests that do not exist in the interface description. What is a sensible next step?

1 answer is correct. Medium Created with AI

Show answer

Answer

  • A Include the interface description in the prompt and allow only its fields

Explanation

Anyone who knows the type of error can protect the prompt in a targeted way: the relevant specification goes into the context, combined with a clear restriction.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications