Using file_search in combination with function calling

Am I able to create an assistant that uses BOTH the native file_search and also custom functions that I’ve built? I have an assistant that is successfully using file_search and I cloned that to include some custom tools I built to allow the assistant to search the web and read the clean text from URLs. I can’t seem to make them work together and I’m wondering if I’m wasting my time trying? The docs say:

“1. Assistants can access multiple tools in parallel. These can be both OpenAI-hosted tools — like code_interpreter and file_searchor tools you build / host (via [function calling]”

I note the “OR tools you build” does that mean it’s one or the other?

I’ve answered my own question. It is possible but I was specifying which tools to run when I was running my thread, instead of letting the assistant do that on its own based on the assistant config. Seems to be working nicely now.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.