Hello, I want to give chatgpt examples on how and when to properly extract data from a user’s messages and return them as a function call but wonder what is the best way to provide examples of function calling in the system prompt? I read in another topic that it can be done by providing some fake messages with the function role, but I’m afraid that it will create a bias and also I’m not sure how to distinguish between different conversations.
Hi and welcome to the Developer Forum!
Just show it a single example user input and what you would expect as output, that is called a single “shot”. You can provide more than one in multi-shotting, but you can usually get away with just one.
You can park the example section as a “template” or “example” and mark it off with --------- or any other commonly used delimiter