Simultaneous Text Response and Tool Invocations in GPT-4 API

You can give the assistant a tool called say() that it can use to say things to the user. You can then further simplify your logic by mapping text responses from the model to say() calls

1 Like