ABM
ABM

Reputation: 23

Azure OpenAI GPT-4 Chatbot in Teams: Unable to Enable Streaming Messages"

I’ve built a chatbot using Azure OpenAI with GPT-4o. The chatbot is deployed as a Teams application and works as expected. However, I want to enable streaming messages, but it’s not working as intended. enter image description here

I followed the instructions provided by microsoft and updated the app.ts file accordingly. However, I’m encountering the following error:

enter image description here

Has anyone faced a similar issue or have suggestions on how to resolve this?

Upvotes: 0

Views: 104

Answers (1)

frankqianms
frankqianms

Reputation: 1

Streaming response feature is not supported in old version (<1.4.0) of @microsoft/teams-ai SDK.1 Please try to upgrade the package.

@ABM Could you please check and share the version of @microsoft/teams-ai in file package.json of your project. I've noticed that you were using Teams Toolkit to debug. The version of the teams-ai package might to be re-installed with the version claimed in package.json, although you updated your package.


1As noted by mike.slomczynski in a comment.

Upvotes: 0

Related Questions