I am using this streaming method in Python
https://platform.openai.com/docs/assistants/tools/file-search?context=streaming
inside of an Azure Function. How do I return the stream in the func.HttpResponse. Here is how I return in the non-streaming way.
return func.HttpResponse(
message_content.value,
status_code=200
)
But I want to stream it instead. I’m am a beginner in Python so please bare with me. I’d appreciate the help.