I am getting error saying there is no AssistantEventHandler while trying to implement streaming response in Assistance API , can any help me solving my issue

Got this error while trying to implement streaming response in my chatbot
I am following the document which Assistant APi has
https://platform.openai.com/docs/assistants/overview?context=with-streaming
getting import error
error7

1 Like

I am also getting the same error, have package version 1.27 and can’t use helper function

I was able to get it to work when I changed my python runtime from 3.11 to 3.8, 3.9 works as well. not sure about 3.10