WhisperClient class
Client for interacting with OpenAI's Whisper API
Constructors
- WhisperClient({required String apiKey, String baseUrl = 'https://api.openai.com/v1', Client? httpClient})
- Creates a new WhisperClient instance
Properties
Methods
-
dispose(
) → void - Disposes of the HTTP client
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
transcribe(
WhisperRequest request) → Future< WhisperResponse> - Transcribes audio using the Whisper API
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited