TranscribeAudioConfig class final

Configuration for the transcribeAudioTool transcription endpoint.

Constructors

TranscribeAudioConfig({String modelId = 'whisper-1', required String apiKey, String? baseUrl, String? language, Client? httpClient})
Creates a configuration.
const

Properties

apiKey String
API key for the transcription provider.
final
baseUrl String?
Optional base URL of the Whisper-compatible endpoint; /audio/transcriptions is appended. When omitted, OpenAI's default is used (https://api.openai.com/v1).
final
hashCode int
The hash code for this object.
no setterinherited
httpClient → Client?
Optional HTTP client for testing.
final
language String?
Optional ISO-639-1 language hint sent as the language form field.
final
modelId String
Transcription model id, e.g. whisper-1 (OpenAI) or whisper-large-v3 (Groq). Defaults to whisper-1.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited