Replies: 1 comment 2 replies
-
You're not the only one that has problems with this API endpoint, it is a little difficult to use even for the official python/js library users. Best bet is to try to do the same thing in the API playground, write out the steps, and try to recreate in code. I think your best bet is to add the file directly to the assistant itself, but I have not used this feature much. I mostly use realtime. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi There,
I am trying to create a simple example. I just upload a simple docx word document with the text: this is just a test file.
when i upload this within the chat (and i think i am handling it correct...) i always get the response:
I’m sorry, but I don’t have access to the contents of “testfile.docx.” If you can provide the text or the specific portion you’d like me to read, I’ll be happy to help.
I need to know what i do wrong....
This code i use to upload a file, in this case i use the purpose "assistants"
this goes succesfull and i can also see the file on the openai playground in the storage with the file.id.
then when i create the message and add the message to the chat i this:
And then this to send the message:
When i send a picture with this, it is able to read the image using the purpose as vision.
please help me to get reading files in the chat.
Kind regards,
Joris
Beta Was this translation helpful? Give feedback.
All reactions