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.