openai/openai-dotnet
Publicmirrored from https://github.com/openai/openai-dotnetAvailable
src/Custom/Audio/AudioTimestampGranularities.cs
28lines · modeblame
9f9f2936Jose Arriaga Maldonado2 years ago | 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> | |
79014abcShivangiReja2 years ago | 15 | Default = 0, |
9f9f2936Jose Arriaga Maldonado2 years ago | 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> | |
79014abcShivangiReja2 years ago | 21 | Word = 1, |
9f9f2936Jose Arriaga Maldonado2 years ago | 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> | |
79014abcShivangiReja2 years ago | 27 | Segment = 2, |
9f9f2936Jose Arriaga Maldonado2 years ago | 28 | } |