openai/openai-dotnet

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
mailinhphan/clientOptions

Branches

Tags

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

Clone

HTTPS

Download ZIP

OpenAI/src/Custom/Audio/AudioTimestampGranularities.cs

28lines · modecode

1using System;
2
3namespace OpenAI.Audio;
4
5/// <summary>
6/// Specifies the timestamp granularities to populate for a transcription.
7/// </summary>
8[Flags]
9public enum AudioTimestampGranularities
10{
11 /// <summary>
12 /// The default value that, when equivalent to a request's flags, specifies no specific audio timestamp granularity
13 /// and defers to the default timestamp behavior.
14 /// </summary>
15 Default = 0,
16
17 /// <summary>
18 /// The value that, when present in the request's flags, specifies that audio information should include word-level
19 /// timestamp information.
20 /// </summary>
21 Word = 1,
22
23 /// <summary>
24 /// The value that, when present in the request's flags, specifies that audio information should include
25 /// segment-level timestamp information.
26 /// </summary>
27 Segment = 2,
28}