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

WebChat: Support for ‘stream’ output in ChatGPT style while using Azure OpenAI Completion #4876

Closed
dawwa opened this issue Sep 24, 2023 · 13 comments · Fixed by #5141 or #5265
Closed
Assignees
Labels
Bot Services Required for internal Azure reporting. Do not delete. Do not change color. customer-replied-to Required for internal reporting. Do not delete. customer-reported Required for internal Azure reporting. Do not delete. feature-request Azure report label
Milestone

Comments

@dawwa
Copy link

dawwa commented Sep 24, 2023

Bot responses with Azure OpenAI Completion, but we need the response to be displayed in a live streaming format.

Describe the suggestion or request in detail

Allow Application that uses Bot framework webchat to stream out the response like ChatGPT web chat does.

@dawwa dawwa added Bot Services Required for internal Azure reporting. Do not delete. Do not change color. customer-reported Required for internal Azure reporting. Do not delete. feature-request Azure report label labels Sep 24, 2023
@compulim
Copy link
Contributor

This is good.

Internally, we are planning this feature, streaming texts/completions from Azure OpenAI and other capable services into Web Chat.

@compulim compulim added the customer-replied-to Required for internal reporting. Do not delete. label Sep 26, 2023
@compulim compulim self-assigned this Sep 26, 2023
@compulim compulim added this to the imminent milestone Sep 26, 2023
@HesselWellema
Copy link

Implementing this would be much appreciatedd. We still rely on your webchat widget for most of our implementation. The time it takes to get the full response from the azure openai-api is perceived as latency by users.

@pedrojlazevedo
Copy link

pedrojlazevedo commented Dec 13, 2023

This feature, after MSTeams update, is a must! Really keen to see an update on this

@wsp174212
Copy link

Thanks for your help, Is there an ETA for this feature?

@HesselWellema
Copy link

Or maybe share some insight in what to expect

@biyukai88
Copy link

May I ask when you plan to go online?We are all looking forward to this feature!

@wsp174212
Copy link

@compulim I hope this message finds you well.
Could you please let me know if there is an ETA for this feature.
More and more popular tools are releasing new features like GPT. We really need this to expand our business.

@rliberoff
Copy link

Hello Team!

This feature is really important. Today, it is possible to update an activity in teams (await turnContext.UpdateActivityAsync(responseActivity, cancellationToken);) creating a stream (or typing) experience like ChatGPT.

However, it is currently impossible to do so with the Webchat 😟

When can we expect this feature?

Thank you.

@anshumankmr
Copy link

Hey folks, is there a workaround for this in Bot Framework WebChat?

@HesselWellema
Copy link

HesselWellema commented Apr 9, 2024

Update from @compulim : #5121 (comment)

@DukaJ
Copy link

DukaJ commented Jun 4, 2024

Dear Mr. Wong, first of all thank you for your effort and commitment that Webchat is working stable so many years!
Please check my question below:

Are there any updates on this topic that enable streaming responses through Webchat component through Bot framework SDK?
This is extremely important feature since without it, in the era of LLM, usage of the component is having challenges.

If you may please share expected date for this to be enabled @compulim

Kind regards and thank you in advance!

@Joekraft
Copy link

@compulim could you clarify what #5141 is meant to resolve here? It appears to be implementing a typing indicator, and "livestreaming"? But there is no clear documentation or examples how this links back to the expected support of response streaming from AI generated answers?

@compulim
Copy link
Contributor

compulim commented Aug 22, 2024

I am adding a LIVESTREAMING.md in the PR #5265. The document outlines how to send livestreaming from the bot code and also bot/channel/client supportability.

@DukaJ thanks for your support and understanding, the document would explain how to add it to the bot.

@Joekraft we are extending the typing activity for livestreaming. So, yes, you will send a typing activity for livestreaming. Despite typing activity has been available for a very long time, its design is naturally extensible to cover livestreaming cases in additional to typing indicator. In some future, it could be used for bot-assisted auto-completion too. 😉

Thank you everyone for support. We are working very hard to add livestreaming support to a very broad ecosystem at Microsoft, including but not limited to Azure Bot Services, Copilot Studio, Teams.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bot Services Required for internal Azure reporting. Do not delete. Do not change color. customer-replied-to Required for internal reporting. Do not delete. customer-reported Required for internal Azure reporting. Do not delete. feature-request Azure report label
Projects
None yet
10 participants