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/Streaming/StreamingAudioTranscriptionTextSegmentUpdate.cs

26lines · modecode

1using Microsoft.TypeSpec.Generator.Customizations;
2using System;
3using System.Collections.Generic;
4
5namespace OpenAI.Audio;
6
7// CUSTOM: Renamed.
8[CodeGenType("DotNetTranscriptTextSegmentEvent")]
9public partial class StreamingAudioTranscriptionTextSegmentUpdate
10{
11 // CUSTOM: Rename.
12 [CodeGenMember("Id")]
13 public string SegmentId { get; }
14
15 // CUSTOM: Rename.
16 [CodeGenMember("Start")]
17 public TimeSpan StartTime { get; }
18
19 // CUSTOM: Rename.
20 [CodeGenMember("End")]
21 public TimeSpan EndTime { get; }
22
23 // CUSTOM: Rename.
24 [CodeGenMember("Speaker")]
25 public string SpeakerLabel { get; }
26}
27