openai/openai-dotnet

Public

mirrored from https://github.com/openai/openai-dotnetAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
achandmsft-patch-1

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

src/Custom/Chat/ChatAudioOptions.cs

30lines · modeblame

0e0c460cJose Arriaga Maldonado1 years ago1using System;
2using System.Collections.Generic;
3using System.Diagnostics.CodeAnalysis;
4
5namespace OpenAI.Chat;
6
7/// <summary>
8/// Represents the configuration details for output audio requested in a chat completion request.
9/// </summary>
10/// <remarks>
11/// When provided to a <see cref="ChatCompletionOptions"/> instance's <see cref="ChatCompletionOptions.AudioOptions"/> property,
12/// the request's specified content modalities will be automatically updated to reflect desired audio output.
13/// </remarks>
0ca4c062Jose Arriaga Maldonado1 years ago14[CodeGenType("CreateChatCompletionRequestAudio1")]
0e0c460cJose Arriaga Maldonado1 years ago15public partial class ChatAudioOptions
16{
17// CUSTOM: Renamed.
18/// <summary>
19/// Gets or sets the voice model that the response should use to synthesize audio.
20/// </summary>
21[CodeGenMember("Voice")]
22public ChatOutputAudioVoice OutputAudioVoice { get; }
23
24// CUSTOM: Renamed.
25/// <summary>
26/// Specifies the output format desired for synthesized audio.
27/// </summary>
28[CodeGenMember("Format")]
29public ChatOutputAudioFormat OutputAudioFormat { get; }
30}