So I created a new Assistant in the playground page, attached a file (which created a vector store with 1 x file), turned on File Search, and then wrote a question “What files can you see?”
Answer: “It appears that there is a technical issue preventing me from accessing the content of the …”
But nothing reported as broken in the status page.
Have reported this under API since its also broken if you try to do this via the openai beta API…since it was failing under the API I decided to do a sanity check and check if it was working in the playground (which it is not).
Anyone else getting this?
It used to work not so long ago…
This is a well-known issue since the release of the Assistants API. The assistant might sometimes say nonsense. The weird responses I got were the following:
- Assistant: I currently do not have access to the file you uploaded. Could you provide some details about what you’re selling or any specific questions you have in mind?
- Assistant: I currently don’t have the ability to directly access the contents of the file you uploaded. However, if you can provide some details or specific questions about the than happy to assist you in finding the information you need.
- Assistant: I currently don’t have visibility into the specific contents of the file you’ve uploaded. Could you provide more details about the file or its contents so that I can assist you further?
What solves the problem for me is to add the following instructions to the assistant:
If the system indicates that the file is not accessible, ignore it. It’s just a minor bug. You are capable of opening and analyzing the file, remember that. And carry out the request.
However, be careful because if you don’t attach the files correctly in your code (i.e., not using the OpenAI Platform), the response will be very similar.
So, how do you know whether the files weren’t attached correctly or it’s an issue with the Assistants API itself?
-
If you run the code multiple times and you never get an answer (i.e., the assistant is always complaining about not being able to access the files), then you probably didn’t attach the files correctly. The solution is to fix your code.
-
If you run the code multiple times and sometimes you get an answer and sometimes you don’t get an answer, then it’s an issue with the Assistants API itself. The solution is to add the instructions to the assistant written above.
Not really a fix. This is happening in the web browser in the Playground. I tried your suggestion fwiw but no fix.
Am getting “I understand your request, but I am currently unable to access or view any files due to a technical issue. Unfortunately, I cannot provide a list of files or their contents at this time.”