Gpt function calling hallucinations, runs 3 times

Yes, you can use the python .append function to just add new roles and message content to the messages list, append the users question and the models answer to it, and repeat that in a loop, you can see this thread for further guidance.

1 Like