Hey Champs
As Assistants API is still in beta, and it is not unusual to feel confused when working with it, I suggest we share stuff we tested and that worked so that we all can learn from each other.
Hey Champs
As Assistants API is still in beta, and it is not unusual to feel confused when working with it, I suggest we share stuff we tested and that worked so that we all can learn from each other.
Referring to Files
Use-case: I have several files attached to my Assistant (lists of different things). I was trying to get a list from a specific file mentioning it by the name, but the Assistant was getting confused - either not finding the right file or finding the wrong one.
Solution: in your system prompt describe the files attached and provide their ID’s. Example:
“firms”. Possible values for this parameter are in the file with ID Ruq8NslyxMCsLBCtdvW…
You are referencing them in the file_ids and get a error in the created message?
But there are even more related forum entries to this topic.
If I don’t indicate file id’s in the system prompt, in most cases AI just cannot find the file (says I cannot find relevant file) or opens a wrong one.
So you add them to the file_ids and additionally you add them to the prompt with something like: Possible values for this parameter are in the file with ID Ruq8NslyxMCsLBCtdvW… ?
What tools have you enabled? Only retrieve?
For this case I;m testing in the playground, so the files are just uploaded and attached to the assistant (you can see them in the right area under the system prompt) and I described them in the system prompt as above with their id’s.
Only Code Interpreter.