microsoft / microsoft/CopilotStudioSamples
PDF/File Parsing by copilot studio agent.
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 797
- Forks
- 491
- PR merge metrics
- No merged PRs in 30d
Description
I have refered few youtube videos and articles on this, where the user uploads a pdf, the copilot agent should process it and do the necessary action. Below are the references.
https://youtu.be/I0TPj62Dhsc?si=ig5T3xapPKwl-fEi
(First( System.Activity.Attachments )).Content
for this i am getting null value or blank response
First( System.Activity.Attachments )
for this i am getting the below response>
{"Content":{"$kind":"FileDataValue","value":{"$kind":"ConversationFileReference","value":"3f5eac97-0eee-4020-9977-d34b3f8600bf"}},"ContentType":"application/pdf","Name":"rca1.pdf","Value":{"$kind":"FileDataValue","value":{"$kind":"ConversationFileReference","value":"3f5eac97-0eee-4020-9977-d34b3f8600bf"}}}
VarRecord: [{"Content":{"$kind":"FileDataValue","value":{"$kind":"ConversationFileReference","value":"42d41870-444c-44ad-9d5a-147f67b696b6"}},"ContentType":"application/pdf","Name":"rca1.pdf","Value":{"$kind":"FileDataValue","value":{"$kind":"ConversationFileReference","value":"42d41870-444c-44ad-9d5a-147f67b696b6"}}}]
(full record)
but how will get to access the value guid here?
Please give me the correct method to perform this action, my bot will be surfaced into microsoft teams.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the System.Activity.Attachments expression and the full attachment record shown in the issue, then review the linked Microsoft documentation and examples for uploaded files. Confirm how the ConversationFileReference GUID is accessed and how the PDF content is processed when the bot is surfaced in Microsoft Teams.
Written by the indexing model from the issue text.
Assessment
- Domain
- ai
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100