OpenAISpeechResult
Namespace: Vercel.AI.OpenAI
public sealed class OpenAISpeechResultSpeech audio plus the response metadata recorded for the call.
Inheritance: object
Properties
Section titled “Properties”public byte[] Audio { get; }Audio bytes.
Value: byte[]
Headers
Section titled “Headers”public IReadOnlyDictionary<string, string> Headers { get; }HTTP response headers.
Value: IReadOnlyDictionary<string, string>
MediaType
Section titled “MediaType”public string MediaType { get; }IANA media type derived from the request format.
Value: string
ModelId
Section titled “ModelId”public string ModelId { get; }Model id used for the call.
Value: string
Timestamp
Section titled “Timestamp”public DateTimeOffset Timestamp { get; }Timestamp recorded when the response was read.
Value: DateTimeOffset
Warnings
Section titled “Warnings”public IReadOnlyList<OpenAICallWarning> Warnings { get; }Warnings produced while preparing the request.
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product