Class ChatCompletionAudioData
OpenAI style Generated Audio Data used by OpenAI.
Implements
Inherited Members
Namespace: Glitch9.AIDevKit.OpenAI
Assembly: Glitch9.AIDevKit.dll
Syntax
public sealed class ChatCompletionAudioData : IBase64Source
Properties
| Edit this page View SourceData
Base64 encoded audio bytes generated by the model, in the format specified in the request.
Declaration
[JsonProperty("data")]
public string Data { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ExpiresAt
The Unix timestamp (in seconds) for when this audio response will no longer be accessible on the server for use in multi-turn conversations.
Declaration
[JsonProperty("expires_at")]
public UnixTime? ExpiresAt { get; set; }
Property Value
| Type | Description |
|---|---|
| UnixTime? |
Id
Unique identifier for this audio response.
Declaration
[JsonProperty("id")]
public string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Transcript
Transcript of the audio generated by the model.
Declaration
[JsonProperty("transcript")]
public string Transcript { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
| Edit this page View SourceGetBase64String()
Declaration
public string GetBase64String()
Returns
| Type | Description |
|---|---|
| string |