OfficeDev / teams-toolkit

Developer tools for building Teams apps
Other
453 stars 186 forks source link

The Microsoft Teams Framework for AI Assistant Bot [Preview] has stopped working with the OpenAI Assistant API v2 #11512

Open smithcal1000 opened 5 months ago

smithcal1000 commented 5 months ago

Describe the bug The Microsoft Teams Framework for AI Assistant Bot [Preview] has stopped working with the OpenAI Assistant API v2. Additionally, OpenAI Assistant v1 does not support file_search/retrieval, rendering the Microsoft Teams Framework for AI Assistant Bot [Preview] non-functional at this time.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://platform.openai.com/, select the Assistant, and use V2 (default and latest version).
  2. Utilize the Microsoft Teams Framework for the AI Assistant Bot [Preview]. There is no option to select the version of the OpenAI Assistant API.
  3. Attempt to run the Teams AI Assistant Bot app. It fails to retrieve knowledge from the Assistant because OpenAI Assistant API v1, which no longer supports the upload of knowledge retrieval files, is required, and the Teams AI Assistant Bot does not support OpenAI Assistant API v2. As a result, the Teams AI Assistant Bot app is currently non-functional.

Expected behavior Enable developers to select the desired version of the OpenAI Assistant API via configuration, allowing them to choose the specific version of the OpenAI Assistant API they wish to use.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

microsoft-github-policy-service[bot] commented 5 months ago

Thank you for contacting us! Any issue or feedback from you is quite important to us. We will do our best to fully respond to your issue as soon as possible. Sometimes additional investigations may be needed, we will usually get back to you within 2 days by adding comments to this issue. Please stay tuned.

xiaolang124 commented 5 months ago

Thank you for the feedback. We'll consult with the Teams-AI SDK team to address this issue.