I want to make the execution of two functions mandatory

In the API, we can only make one selection in the tool_choice section. However, I want, for example, the code_interpreter or file_search to run first, and then another function. But because there is only one selection, I can’t do this. For example, I want to perform a search in a file using file_search and then save the result to a database using a function. I want tool_choice to allow for multiple sequential selections.

1 Like