I've set up a test restaurant customer assistance bot and a fed it my functions that should provide it all the necessary tools to answer any customer query.
However, when presented with a complex question that requires the use of more than 1 function it only calls 1 function. Can I make it call multiple functions at once?
Here's the response it gives:
"id": "...",
"object": "chat.completion",
"created": 1687002990,
"model": "gpt-4-0613",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": null,
"function_call": {
"name": "look_up",
"arguments": "{\n \"weekly_opening_hours\": true\n}"
}
},
"finish_reason": "function_call"
}
],
"usage": {
"prompt_tokens": 864,
"completion_tokens": 17,
"total_tokens": 881
}
}```
It is good that it looks up the opening hours, but it should also call the function "take_customer_complaint(urgency, complaint)
I think I saw somewhere that it can call multiple back to back, how?