How to upload documents to Azure OpenAI in an assistant? #8063
-
Probably very simple question, but I'm a bit stuck. We're using SK for a chat bot including plugins. What I want to do now, is have the ability for the user to upload a document (always DOCX), and that the assistant performs actions on the document. So, I have to upload the whole document. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi @roldengarm, as of today's dotnet 1.18.0 RC1 release, one is able to use OpenAI Assistant V2 agents. You can use the following as an example on how to leverage the assistant's vector store and file search: |
Beta Was this translation helpful? Give feedback.
-
We'd recommend you extract the text and put placeholders for the images and other items to proceed. If you do need images/markup to improve the quality of the results we recommend using something like document intelligence in Azure. https://azure.microsoft.com/en-us/products/ai-services/ai-document-intelligence |
Beta Was this translation helpful? Give feedback.
Hi @roldengarm, as of today's dotnet 1.18.0 RC1 release, one is able to use OpenAI Assistant V2 agents. You can use the following as an example on how to leverage the assistant's vector store and file search:
https://github.com/microsoft/semantic-kernel/blob/feature-connectors-openai/dotnet/samples/GettingStartedWithAgents/Step11_AssistantTool_FileSearch.cs