openai/openai-dotnet
Publicmirrored from https://github.com/openai/openai-dotnetAvailable
src/Custom/Chat/ChatAudioOptions.cs
30lines · modeblame
0e0c460cJose Arriaga Maldonado1 years ago | 1 | using System; |
| 2 | using System.Collections.Generic; | |
| 3 | using System.Diagnostics.CodeAnalysis; | |
| 4 | | |
| 5 | namespace 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 ago | 14 | [CodeGenType("CreateChatCompletionRequestAudio1")] |
0e0c460cJose Arriaga Maldonado1 years ago | 15 | public 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")] | |
| 22 | public ChatOutputAudioVoice OutputAudioVoice { get; } | |
| 23 | | |
| 24 | // CUSTOM: Renamed. | |
| 25 | /// <summary> | |
| 26 | /// Specifies the output format desired for synthesized audio. | |
| 27 | /// </summary> | |
| 28 | [CodeGenMember("Format")] | |
| 29 | public ChatOutputAudioFormat OutputAudioFormat { get; } | |
| 30 | } |