Class OpenAITranscriptionEvent
Inheritance
OpenAITranscriptionEvent
Assembly: Glitch9.AIDevKit.Provider.OpenAI.dll
Syntax
public sealed class OpenAITranscriptionEvent : IProjector<Transcript>, IUsageProvider, ICompletableEvent, IEvent
Properties
|
Edit this page
View Source
Delta
Required. The text delta that was additionally transcribed.
Declaration
[JsonProperty("delta")]
public string Delta { get; set; }
Property Value
|
Edit this page
View Source
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
[JsonProperty("logprobs")]
public LogProb[] Logprobs { get; set; }
Property Value
|
Edit this page
View Source
Text
Required. The text that was transcribed.
Declaration
[JsonProperty("text")]
public string Text { get; set; }
Property Value
|
Edit this page
View Source
Type
Required. The type of the event.transcript.text.delta or transcript.text.done
Declaration
[JsonProperty("type")]
public string Type { get; set; }
Property Value
|
Edit this page
View Source
Usage
Required. Usage statistics for models billed by token usage.
Declaration
[JsonProperty("usage")]
public Usage Usage { get; set; }
Property Value
Methods
|
Edit this page
View Source
GetUsage()
Declaration
Returns
|
Edit this page
View Source
IsDone()
Declaration
Returns
|
Edit this page
View Source
IsValid()
Declaration
Returns
|
Edit this page
View Source
Project()
Declaration
public Transcript Project()
Returns
Implements
Extension Methods