I have a requirement for users to compare uploaded files with knowledge, But I found that uploading attachments directly to the agent cannot read the file. Is there any way to enable the agent to obtain the file content and compare it with knowledge。
Microsoft Copilot Studio agents currently cannot directly read uploaded file contents (like PDFs, Word docs, etc.). However, you can try using external services such as Power Automate and Azure AI.
Let the user upload a file through a Copilot Agent or Power Apps (embedded in a custom page or site). The file can be passed to a Power Automate flow.
You can extract file content using Power Automate (using built-in actions or AI Builder's Document Processing). For complex item, we can use Azure Cognitive Services.
Once you extract the text, compare it with your knowledge base using Azure OpenAI + Azure AI Search (if you're using embeddings/vector search).
Return this response back to Copilot Studio.
The above approach seems to be little complex, but i cannot think of any other way.
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.