BotBuilder-Samples icon indicating copy to clipboard operation
BotBuilder-Samples copied to clipboard

Is there any examples for Live streaming the API text responses in bot framework in c# sdk?

Open Basavarajsk1992 opened this issue 1 year ago • 3 comments

🚨 The issue tracker is not for questions 🚨

If you have a question, please ask it on https://stackoverflow.com/questions/tagged/botframework

[question]

I am searching for sample code examples that supports the live-streaming response from the OPEN AI API responses in c# SDK bot.

Can someone point out a code example for that? Thank you.

Basavarajsk1992 avatar Dec 06 '24 07:12 Basavarajsk1992

@Basavarajsk1992 - Unfortunately, there are no samples available at this time that demonstrate using OpenAI. I will go ahead and mark this as a feature request for future consideration.

That being said, there are some samples available on the Teams AI repo that you can reference that may potentially serve you, in the meantime. These Teams samples, while not structured entirely the same as samples displayed here, still utilize BotFramework code. However, since it doesn't appear you are building a Teams bot, I can't ensure that they will meet your needs. Stripping the Teams AI samples of the Teams related code may break the live streaming functionality in the process.

stevkan avatar Dec 09 '24 22:12 stevkan

@stevkan , Thanks for your response.

I will be awaiting for the reference to the streaming response support in the C#(SDK) Bot framework.

Basavarajsk1992 avatar Dec 10 '24 13:12 Basavarajsk1992

There is this example which doesn't use team-ai https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/bot-streaming/csharp

duydl avatar Dec 31 '24 01:12 duydl