openai/openai-dotnet
Publicmirrored from https://github.com/openai/openai-dotnetAvailable
OpenAI/src/Custom/Audio/Streaming/StreamingAudioTranscriptionTextDoneUpdate.cs
13lines · modecode
| 1 | using Microsoft.TypeSpec.Generator.Customizations; |
| 2 | using System.Collections.Generic; |
| 3 | |
| 4 | namespace OpenAI.Audio; |
| 5 | |
| 6 | // CUSTOM: Added Experimental attribute. |
| 7 | [CodeGenType("DotNetTranscriptTextDoneEvent")] |
| 8 | public partial class StreamingAudioTranscriptionTextDoneUpdate |
| 9 | { |
| 10 | // CUSTOM: Rename; make readonly; apply shared audio logprobs type |
| 11 | [CodeGenMember("Logprobs")] |
| 12 | public IReadOnlyList<AudioTokenLogProbabilityDetails> TranscriptionTokenLogProbabilities { get; } |
| 13 | } |