However all my uploads appear as “upload” in the file section. How can I change the displayed name to something more friendly? I tried to use the query_param but with no success. Thank you
Yep, the file search results that the AI gets do not have the source file name in the tool return, just the long file ID. A lot more tokens of a name.
The AI is instructed to write file citations that refer to the name in the file search instructions, but that is of little use for organically talking about the source of information. You’d have to provide run time system instructions, and keep track of all the connected vector stores and files inside, and provide some mapping the AI can use.
You can get the rank results in “steps”, but that is of little use because on Assistants you can’t alter the instructions during tool call.
In ChatGPT you are limited to 20 files so the AI can be provided a list of what’s behind the file search, but on the API you could potentially have thousands.
Just another reason to investigate building better document RAG yourself.