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

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

Open
Basavarajsk1992 opened this issue Dec 6, 2024 · 3 comments
Labels
feature-request A request for new functionality or an enhancement to an existing one.

Comments

@Basavarajsk1992
Copy link

🚨 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.

@stevkan stevkan self-assigned this Dec 9, 2024
@stevkan stevkan added the feature-request A request for new functionality or an enhancement to an existing one. label Dec 9, 2024
@stevkan
Copy link
Collaborator

stevkan commented Dec 9, 2024

@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.

@Basavarajsk1992
Copy link
Author

@stevkan , Thanks for your response.

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

@stevkan stevkan removed their assignment Dec 10, 2024
@Basavarajsk1992 Basavarajsk1992 changed the title Is there any Live streaming the API responses in bot example available in c#? Is there any examples for Live streaming the API text responses in bot framework in c# sdk? Dec 30, 2024
@duydl
Copy link

duydl commented Dec 31, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A request for new functionality or an enhancement to an existing one.
Projects
None yet
Development

No branches or pull requests

3 participants