AssemblyAITranscriptionResponse
Namespace: Vercel.AI.AssemblyAI
public sealed class AssemblyAITranscriptionResponseMetadata returned with a transcription.
Inheritance: object
Constructors
Section titled “Constructors”AssemblyAITranscriptionResponse(DateTimeOffset, string, IReadOnlyDictionary<string, string>, string)
Section titled “AssemblyAITranscriptionResponse(DateTimeOffset, string, IReadOnlyDictionary<string, string>, string)”public AssemblyAITranscriptionResponse(DateTimeOffset timestamp, string modelId, IReadOnlyDictionary<string, string> headers, string body)Creates response metadata.
Parameters
| Name | Type | Description |
|---|---|---|
timestamp |
DateTimeOffset | |
modelId |
string | |
headers |
IReadOnlyDictionary<string, string> | |
body |
string |
Properties
Section titled “Properties”public string Body { get; }Raw transcript JSON from the final poll.
Value: string
Headers
Section titled “Headers”public IReadOnlyDictionary<string, string> Headers { get; }Headers from the final transcript poll.
Value: IReadOnlyDictionary<string, string>
ModelId
Section titled “ModelId”public string ModelId { get; }Model id.
Value: string
Timestamp
Section titled “Timestamp”public DateTimeOffset Timestamp { get; }Timestamp captured when the call started.
Value: DateTimeOffset
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product