Repository navigation
How do I reference a file in a chat with an agent which uses the OpenAI Assistants API (and the SK Experimental Agents feature) #5103
|
I am experimenting with the Experimental Agents package - and can't seem to figure out how to upload a file in a particular user message. In my use case my assistant should read and answer questions on an uploaded file in a user message (not seeded into OpenAI storage for Retrieval, preferably). How would I go about doing that? Even if I do upload the file into OpenAI storage for retrieval - how do I reference the file id in my user message? basically mimicking this: |
Replies: 2 comments
|
Chris (@crickman), Worth taking a look on this, looking at the |
|
I have reposted this question because it seems Sophia Lagerkrans-Pandey (@sophialagerkranspandey) incorrectly closed this |

Chris (@crickman), Worth taking a look on this, looking at the
ChatThreadclass it seems to be using only theIdfrom ThreadModel, might worth allowing in a ChatThread to reference file ids or an abstraction for Files.