Assistant api, retrieval file api is not working

Following up on this, i made a couple changes that manages to get file retrieval to work. I am still experimenting but here is what I did.

  1. add code interpreter to assistant tools even if you dont use this
  2. update your instructions to specify the file type and how you want you files to be processed. So in my case i mentioned “you have access to the pdf files to answer user questions about company information. Extract the text from each pdf file and use the content from the file to answer each question.”

I am going to test this more extensively to see how well it is at analyzing documents uploaded.

5 Likes