Skip to content

Add ability to configure Voice for realtime session. #397

Answered by StephenHodgson
cecolson asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @cecolson, you can change the default voice options in the constructor of the session configuration options. Check out my realtime sample behavior.

session = await openAI.RealtimeEndpoint.CreateSessionAsync(
new SessionConfiguration(
model: Model.GPT4oRealtime,
voice: voice,
instructions: systemPrompt,
tools: tools),
destroyCancellationToken);

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by StephenHodgson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #396 on July 10, 2025 14:41.