I add a similar issue.
I added in description : “Must be one within the enum”
eg in your case it would be something like : description : the fruit most resembling the one requested. Must be one within the enum
It’s not working at 100%, but the results have improved
Poor GPT4 is getting too many conflicting messages.
OpenAI system prompt + mod checkup, user instructions + user sys prompt + user manifest description + user spec description/endpoints + OpenAI plugin auto prompt + user query.
Taking the place of the AI and reading your prompt, I do not understand what you want me to do.
If I as a human am confused by your request, so will the AI.
You need to image that you randomly tap someone in the street on the shoulder and ask them if they can do a task for you, then explain how to do the task, that description of the task to a stranger will be a great prompt.