Skip to content

TranscriptionAudioInfo

Namespace: Vercel.AI.Operations

public sealed class TranscriptionAudioInfo

Metadata about the input audio on a transcription telemetry event.

Inheritance: object

View source

public TranscriptionAudioInfo(int? byteLength, string? mediaType)

Creates the metadata.

Parameters

Name Type Description
byteLength int?
mediaType string

View source

public int? ByteLength { get; }

Byte length. Unknown for native URL transcription and for inputs that fail to prepare.

Value: int?

View source

public string? MediaType { get; }

Media type, when it is known before input preparation completes.

Value: string

View source

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