Class TranscriptStreamEvent
Inheritance
object
TranscriptStreamEvent
Implements
Namespace: Glitch9.AIDevKit.Streaming
Assembly: .dll
Syntax
public class TranscriptStreamEvent : IGeneratedResult
Properties
Count
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
int |
Delta
Required. The text delta that was additionally transcribed.
Declaration
public string Delta { get; set; }
Property Value
Type | Description |
---|---|
string |
Logprobs
Optional. The log probabilities of the individual tokens in the transcription. Only included if you create a transcription with the include[] parameter set to logprobs.
Declaration
public List<LogProb> Logprobs { get; set; }
Property Value
Type | Description |
---|---|
List<LogProb> |
Text
Required. The text that was transcribed.
Declaration
public string Text { get; set; }
Property Value
Type | Description |
---|---|
string |
Type
Required. The type of the event.transcript.text.delta or transcript.text.done
Declaration
public string Type { get; set; }
Property Value
Type | Description |
---|---|
string |
Usage
Required. Usage statistics for models billed by token usage.
Declaration
public Usage Usage { get; set; }
Property Value
Type | Description |
---|---|
Usage |