Why in an assistant cant you have file search and JSON object enabled at the same time?
I have specified “Please do a JSON response” in the instructions along with a JSON layout, and I can enable if I don’t have a file search on
Because it seems I cant attach a file to a thread and have it look at a PDF for example, and response with a JSON response, without enabling file search.
I don’t really understand the logic in why you cant have a file search and JSON response at the same time?
the gist is that the JSON corset probably interdicts the file search/ special function calling
That said, I’ve never really had an issue with generating JSON without JSON mode: in the last message, just pass a proper schema, tell it to only respond in JSON, and tell it to start its response with {.