openai/openai-dotnet
Publicmirrored from https://github.com/openai/openai-dotnetAvailable
src/Custom/Audio/AudioTranscription.cs
14lines · modecode
| 1 | using System; |
| 2 | |
| 3 | namespace OpenAI.Audio; |
| 4 | |
| 5 | [CodeGenModel("CreateTranscriptionResponseVerboseJson")] |
| 6 | public partial class AudioTranscription |
| 7 | { |
| 8 | // CUSTOM: Made private. This property does not add value in the context of a strongly-typed class. |
| 9 | private InternalCreateTranscriptionResponseVerboseJsonTask Task { get; } = InternalCreateTranscriptionResponseVerboseJsonTask.Transcribe; |
| 10 | |
| 11 | // CUSTOM: Made nullable because this is an optional property. |
| 12 | /// <summary> The duration of the input audio. </summary> |
| 13 | public TimeSpan? Duration { get; } |
| 14 | } |