Skip to content

RevAITranscriptionResponse

Namespace: Vercel.AI.RevAI

public sealed class RevAITranscriptionResponse

Metadata returned with a transcription.

Inheritance: object

View source

RevAITranscriptionResponse(DateTimeOffset, string, IReadOnlyDictionary<string, string>, string)

Section titled “RevAITranscriptionResponse(DateTimeOffset, string, IReadOnlyDictionary<string, string>, string)”
public RevAITranscriptionResponse(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

View source

public string Body { get; }

Raw transcript JSON.

Value: string

View source

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

Headers from the transcript response.

Value: IReadOnlyDictionary<string, string>

View source

public string ModelId { get; }

Model id sent as transcriber.

Value: string

View source

public DateTimeOffset Timestamp { get; }

Timestamp captured when the call started.

Value: DateTimeOffset

View source

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