openai/openai-dotnet

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
OpenAI_2.2.0-beta.2

Branches

Tags

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

Clone

HTTPS

Download ZIP

src/Custom/Audio/AudioTranscription.cs

14lines · modecode

1using System;
2
3namespace OpenAI.Audio;
4
5[CodeGenModel("CreateTranscriptionResponseVerboseJson")]
6public 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}