Skip to content

TranscribeRequest

Namespace: Vercel.AI.Operations

public sealed class TranscribeRequest : OperationRequest

Options for CancellationToken).

Inheritance: object → OperationRequest

View source

public byte[]? Audio { get; set; }

Audio bytes.

Value: byte[]

View source

public string? AudioUrl { get; set; }

Audio URL. Downloaded when set.

Value: string

View source

public Func<string, CancellationToken, Task<DownloadedMedia>>? Download { get; set; }

Downloads URL audio.

Value: Func<string, CancellationToken, Task<DownloadedMedia>>

View source

public ITranscriptionCaller? Model { get; set; }

Model instance. Takes precedence over ModelId.

Value: ITranscriptionCaller

View source

public string? ModelId { get; set; }

Model id resolved through Default.

Value: string

View source

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