Hallucinating API Actions' required params

I have some actions in my API that require params. I have these documented in my schema, but my customGPT keeps hallucinating what to use for them. How can I force it to ask the user for them before making any calls instead?

I have tried explaining them in a knowledge file with an instruction “IMPORTANT! Consult your knowledge file store-api.md BEFORE making any calls!”.

For context, I am doing a store search. It NEEDS a zip code. But when I ask it “Where’s my nearest store?”, it just does a search for whatever random zip code. Instead, I want it to say “Okay, I can help you with that. But first, I need your zip code.” Is prompt-chaining even possible?

1 Like