Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat]: Add file upload and download support for AssistantsPlanner #1919

Closed
1 of 3 tasks
singhk97 opened this issue Aug 8, 2024 · 0 comments · Fixed by #1945
Closed
1 of 3 tasks

[Feat]: Add file upload and download support for AssistantsPlanner #1919

singhk97 opened this issue Aug 8, 2024 · 0 comments · Fixed by #1945
Assignees
Labels
medium tshirt size medium (5-10 days)

Comments

@singhk97
Copy link
Collaborator

singhk97 commented Aug 8, 2024

Requirements

  • Ability to upload files to an Assistant's API thread.
  • Ability to download a file generated by the code_interpretor tool

Implementation overview

  • Ability to upload files to an Assistant's API thread.
    • Get the user uploaded files from the turn state (added using the TeamsAttachmentDownloader)
    • If it is an image, then attachment the file as an image in the thread message.
    • If it isn't an image, then upload the file using the Files API, and attach the file id to the message.

Status
@singhk97 is doing C# implementation for sprint 18

Tasks

Preview Give feedback
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
medium tshirt size medium (5-10 days)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant