Skip to content

OpenAISpeechResult

Namespace: Vercel.AI.OpenAI

public sealed class OpenAISpeechResult

Speech audio plus the response metadata recorded for the call.

Inheritance: object

View source

public byte[] Audio { get; }

Audio bytes.

Value: byte[]

View source

public IReadOnlyDictionary<string, string> Headers { get; }

HTTP response headers.

Value: IReadOnlyDictionary<string, string>

View source

public string MediaType { get; }

IANA media type derived from the request format.

Value: string

View source

public string ModelId { get; }

Model id used for the call.

Value: string

View source

public DateTimeOffset Timestamp { get; }

Timestamp recorded when the response was read.

Value: DateTimeOffset

View source

public IReadOnlyList<OpenAICallWarning> Warnings { get; }

Warnings produced while preparing the request.

Value: IReadOnlyList<OpenAICallWarning>

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product