openai/openai-dotnet
Publicmirrored from https://github.com/openai/openai-dotnetAvailable
OpenAI/src/Custom/Audio/AudioTimestampGranularities.cs
28lines · modecode
| 1 | using System; |
| 2 | |
| 3 | namespace OpenAI.Audio; |
| 4 | |
| 5 | /// <summary> |
| 6 | /// Specifies the timestamp granularities to populate for a transcription. |
| 7 | /// </summary> |
| 8 | [Flags] |
| 9 | public 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 | } |