Azure OpenAI Slow To Stream

Issue

When using OpenAI hosted on Azure, streaming is slow and in big chunks.

Solution

This is a Microsoft Azure issue. Some users have reported the following solutions:

  • Update Content Filtering Settings: Inside Azure AI Studio, within "Shared resources" > "Content filters", create a new content filter and set the "Streaming mode (Preview)" under "Output filter" from "Default" to "Asynchronous Filter".