Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - Building Copilot Studio Chatbo...
Unanswered

Streaming Text from Copilot Studio to Teams

(1) ShareShare
ReportReport
Posted on by 5

Hi everyone,

 

I'm currently in the process of rolling out GenAI via Teams to my company.

 

I have released two apps so far:

  1. First App: A simple GPT-4 connection for 1-to-1 chat via Teams and Azure OpenAI. For this, I utilized Azure OpenAI Services, CoPilot Studio, and Power Automate to manage aspects like chat history and session-based responses.

  2. Second App: An Azure Prompt Flow Endpoint that utilizes the "Chat with your own data" service.

Both apps employ Power Automate to establish the connection with the LLM.

However, I'm facing two issues:

  1. The responses sometimes take more than 2 minutes, leading to a timeout.
  2. I would like to implement streaming text responses to enhance the user experience.

I have already found the KB article on setting up the Azure ML endpoint: https://learn.microsoft.com/en-us/azure/machine-learning/prompt-flow/how-to-enable-streaming-mode?view=azureml-api-2

 

Setting this up is not a big issue, but how do I adapt the requirements for CoPilot Studio and Power Automate to handle the streamed texts?

 

Has anyone already done this, or is there another way to achieve it?

 

I look forward to your answers, and thank you very much!

Stefan

Categories:
  • jamesbio Profile Picture
    29 on at
    Re: Streaming Text from Copilot Studio to Teams

    Hi @HenryJammes, I went ahead and submitted using the link you shared here.

    Does it need to be reviewed and then updated by staff before showing:
    https://portal.productboard.com/fdeco3ykgkwvchtg4qbdowug/tabs/1-under-consideration

    How do I know if the idea is actually being reviewed? Once it is added, I would like to share with other colleagues and developers at other large companies so they can upvote.

  • ManikandanS Profile Picture
    246 on at
    Re: Streaming Text from Copilot Studio to Teams

    @Stefan3000 - We are also having similar setup like you I assume, for each user question we have 1 Azure open AI call + Azure Search + 1 Azure open AI call again, please check these areas you should be able to get it.

  • HenryJammes Profile Picture
    on at
    Re: Streaming Text from Copilot Studio to Teams

    Hi @Stefan3000 

     

    Copilot Studio doesn't support streamed messages -- at least not in its current architecture.

    If this is an important requirement, may I ask that you submit a feature request detailing the business case, here: aka.ms/CopilotStudioFeatureRequest?

     

    Henry

  • Stefan3000 Profile Picture
    5 on at
    Re: Streaming Text from Copilot Studio to Teams

    Hi @ManikandanS ,

     

    thanks for your reply.

    We have a RAG-powered Azure Endpoint in place, which I can't get under 10-15% timeout rate.

    I have found a way to handle long HTTP calls:

    https://sergeluca.wordpress.com/2018/02/01/pattern-for-making-long-async-http-calls-in-microsoft-flow/

     

    Unfortunatly the way which describes how to get the URI of the specific action doesn't work.

     

    Is their a new way to get the URL of the HTTP action, so that I can build a loop to check if the status is 200 or 202?

     

    Thank you!

    Does anybody know how to get the URL of a 

  • ManikandanS Profile Picture
    246 on at
    Re: Streaming Text from Copilot Studio to Teams

    Hi @Stefan3000 ,

     

    We have also undergone the same situation and don't think we have a way to show streaming response using power automate and co pilot studio. What we did from our side is we checked the other layers of system like Azure Open AI, Azure Search to speed up the overall turnaround time, thus improved our state and now we managed to send response to user question without timeout issues 99% of time. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Featured topics