Skip to content

GladiaTranscriptionResponse

Namespace: Vercel.AI.Gladia

public sealed class GladiaTranscriptionResponse

Gladia response metadata.

Inheritance: object

View source

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

Section titled “GladiaTranscriptionResponse(DateTimeOffset, string, IReadOnlyDictionary<string, string>)”
public GladiaTranscriptionResponse(DateTimeOffset timestamp, string modelId, IReadOnlyDictionary<string, string> headers)

Creates response metadata.

Parameters

Name Type Description
timestamp DateTimeOffset
modelId string
headers IReadOnlyDictionary<string, string>

View source

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

Headers from the result response.

Value: IReadOnlyDictionary<string, string>

View source

public string ModelId { get; }

Model id. Gladia pre-recorded calls use default.

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