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