#forum Q

1 messages · Page 1 of 1 (latest)

foggy pulsar
#

A couple of days ago I was using knowledge retrieval via an assistant api and it is working as expected.

Today, the assistant api is telling me it does not have access to the file, I have tried with several different files and I get the same response for all them, saying it is unable to access those documents. When I use the assistant in the playground it works perfectly fine and responds with reference to the files.

Is this something from OpenAI? Is there a potential solution to this issue? I’ve been reading through the formum and found a few other topics mentioning the same issue.

sacred jungleBOT
#

Hi @foggy pulsar. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

Based on the information provided in the extracts, it seems that there might be an issue with the way the files are being accessed or referenced in your code. However, without specific details about the error message or the code you're using, it's difficult to provide a definitive solution.

One possible issue could be related to the deletion of files. As mentioned in this forum post (https://community.openai.com/t/541922), if a file is deleted from the Files area, it does not automatically get removed from the Assistants where they might be used/linked to. This could potentially cause issues if your application is trying to retrieve a file that has been deleted.

Another potential issue could be related to the way you're specifying the file IDs when creating a message or a run. As suggested in this forum post (https://community.openai.com/t/504127), you can specify the file IDs when creating a message, which might help in getting an answer from the files.

If you're still encountering issues, it would be helpful to provide more details about the error message and the code you're using. This would allow for a more accurate diagnosis of the problem.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:

#

@vital crow kapa.ai is still learning and improving, please let us know how it did by reacting below

foggy pulsar
#

@sacred jungle does there seem to be a reoccurring issue where retrievals start to fail and then start working again, as in a connected service is failing occasionally?

sacred jungleBOT
#

Let me check the knowledge base for you. One moment! :books:

#

Based on the information provided in the extracts, there's no specific mention of a recurring issue where retrievals start to fail and then start working again. However, it's important to note that any system can experience temporary glitches or outages that could affect its performance.

For instance, as mentioned in the API error code guidance (https://help.openai.com/en/articles/6891839-api-error-code-guidance#h_3a5d809138), a 500 error code indicates an issue on OpenAI's servers, which could potentially affect the retrieval functionality. In such cases, the recommended solution is to retry your request after a brief wait and contact OpenAI's support team if the issue persists.

If you're experiencing intermittent issues with retrievals, it might be helpful to monitor the status of OpenAI's services on their status page (https://status.openai.com/). If the issue persists, you can contact OpenAI's support team (https://help.openai.com/en/) and provide them with relevant details to help diagnose the issue.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: