# Implementing Streaming Responses in Rasa for a ChatGPT-like Experience

**URL:** <https://forum.rasa.com/t/implementing-streaming-responses-in-rasa-for-a-chatgpt-like-experience/58955>\
**Category:** Rasa Open Source\
**Created:** [July 10, 2023, 8:43pm UTC](https://forum.rasa.com/t/implementing-streaming-responses-in-rasa-for-a-chatgpt-like-experience/58955 "2023-07-10T20:43:55Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![saimadib](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/saimadib/32/24941_2.png) [@saimadib](https://forum.rasa.com/u/saimadib)\
**Post date:** [January 14, 2025, 9:59am UTC](https://forum.rasa.com/t/implementing-streaming-responses-in-rasa-for-a-chatgpt-like-experience/58955/8 "2025-01-14T09:59:40Z")

</div>

> [@Christopher1](#):
>
> stream\_response

I am able to get the response from open ai via stream in chunks. But I am facing issues in how to response it to my frontend from rasa?

```
  for chunk in explanation:
        # print(chunk)
        dispatcher.utter_message(text=chunk) # Send each chunk immediately

```

The below is how I am sending currently but not working. . any help would be really appreciated. Thank you

---

_[View the full topic](https://forum.rasa.com/t/implementing-streaming-responses-in-rasa-for-a-chatgpt-like-experience/58955)._
