Skip to content

Commit 65db948

Browse files
Update csharp.md
1 parent 427279f commit 65db948

File tree

1 file changed

+1
-4
lines changed
  • articles/ai-services/speech-service/includes/quickstarts/openai-speech

1 file changed

+1
-4
lines changed

articles/ai-services/speech-service/includes/quickstarts/openai-speech/csharp.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -224,16 +224,13 @@ Conversation ended.
224224
PS C:\dev\openai\csharp>
225225
```
226226

227-
## Reduce latency for text to speech output
228-
229-
The text stream API enables real-time text processing for fast audio generation and minimizes latency, enhancing the fluidity and responsiveness of real-time audio outputs. This API is ideal for applications requiring dynamic text vocalization, such as reading outputs from AI models like Azure OpenAI in real-time. Refer to [how to use the text stream API](~/articles/ai-services/speech-service/how-to-lower-speech-synthesis-latency.md?pivots=programming-language-csharp#text-stream).
230-
231227
## Remarks
232228

233229
Here are some more considerations:
234230

235231
- To change the speech recognition language, replace `en-US` with another [supported language](~/articles/ai-services/speech-service/language-support.md). For example, `es-ES` for Spanish (Spain). The default language is `en-US`. For details about how to identify one of multiple languages that might be spoken, see [language identification](~/articles/ai-services/speech-service/language-identification.md).
236232
- To change the voice that you hear, replace `en-US-JennyMultilingualNeural` with another [supported voice](~/articles/ai-services/speech-service/language-support.md#prebuilt-neural-voices). If the voice doesn't speak the language of the text returned from Azure OpenAI, the Speech service doesn't output synthesized audio.
233+
- To reduce latency for text to speech output, use the text streaming feature, which enables real-time text processing for fast audio generation and minimizes latency, enhancing the fluidity and responsiveness of real-time audio outputs. Refer to [how to use text streaming](~/articles/ai-services/speech-service/how-to-lower-speech-synthesis-latency.md#text-streaming).
237234
- To use a different [model](/azure/ai-services/openai/concepts/models#model-summary-table-and-region-availability), replace `gpt-35-turbo-instruct` with the ID of another [deployment](/azure/ai-services/openai/how-to/create-resource?pivots=web-portal#deploy-a-model). The deployment ID isn't necessarily the same as the model name. You named your deployment when you created it in [Azure OpenAI Studio](https://oai.azure.com/).
238235
- Azure OpenAI also performs content moderation on the prompt inputs and generated outputs. The prompts or responses might be filtered if harmful content is detected. For more information, see the [content filtering](/azure/ai-services/openai/concepts/content-filter) article.
239236

0 commit comments

Comments
 (0)