Skip to content

StreamTranslateRequest

Namespace: Vercel.AI.Operations

public sealed class StreamTranslateRequest : OperationRequest

Options for CancellationToken).

Inheritance: object → OperationRequest

View source

public AudioChunkStream? Audio { get; set; }

Audio stream.

Value: AudioChunkStream

View source

public bool? IncludeRawChunks { get; set; }

Requests raw provider chunks.

Value: bool?

View source

public string InputAudioFormat { get; set; }

Input audio format.

Value: string

View source

public ISpeechTranslationCaller? Model { get; set; }

Model instance. Takes precedence over ModelId.

Value: ISpeechTranslationCaller

View source

public string? ModelId { get; set; }

Model id resolved through Default.

Value: string

View source

public string? OutputAudioFormat { get; set; }

Output audio format.

Value: string

View source

public string? SourceLanguage { get; set; }

Source language.

Value: string

View source

public string TargetLanguage { get; set; }

Target language.

Value: string

View source

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