You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But if I want to upload an image, the vector store won't work, as it's only for text docs. So I want to use as an ImageContent()
The problem is that ImageContent() wants a URI, so "file-sadkhjasdjhas8sadjh" won't work.
I don't know how to pass a file ID to make use of that file.
The API allows that:
Also, FileReferenceContent() put a type of input_file so the API assumes it's not an image and fails.
A combination of both will be so good.
Allow in Responses API vision of images by FileID.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi.
Using the Responses API, currently I can upload a file to the files API and use that in a vector store if this file is an .docx for example.
But if I want to upload an image, the vector store won't work, as it's only for text docs. So I want to use as an
ImageContent()
The problem is that
ImageContent()
wants a URI, so "file-sadkhjasdjhas8sadjh" won't work.I don't know how to pass a file ID to make use of that file.
The API allows that:
Also,
FileReferenceContent()
put a type ofinput_file
so the API assumes it's not an image and fails.A combination of both will be so good.
Allow in Responses API vision of images by FileID.
Beta Was this translation helpful? Give feedback.
All reactions