I've shared some code on Pastebin (/yqk8exS1), trying to get ChatGPT to perform functions from human text. My first function is to switch the model (gpt-3.5-turbo or gpt-4).
When I tell it "switch the model please", it doesn't ask which model. I want it to respond with something like "What model do you want me to switch it to?" I've appended the following instructions:
-----
If the function I want you to call is invalid or missing a parameter, do this:
1. Tell me what is wrong. Say something like "I can't do [this] because [this] doesn't exist, or I need [this], or [this] isn't valid."
2. Suggest a fix. Say "Would you like to do [this]?" or "You can use [this] or [that] instead".
3. Wait for my response.
But instead, it calls the function with no parameter, or a randomly chosen parameter. It's not aware of its current model, so it doesn't know what to switch from. I need help improving these responses.