struct
AI::Provider::TranscriptionModel::CallOptions
- AI::Provider::TranscriptionModel::CallOptions
- Struct
- Value
- Object
Overview
Options for the doGenerate call.
Included Modules
- JSON::Serializable
Defined in:
ai/provider/transcription_model/transcription_model.crConstructors
- .new(audio : AudioData, media_type : String, provider_options : Shared::ProviderOptions | Nil = nil, headers : Shared::Headers | Nil = nil)
- .new(pull : JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#audio : AudioData
Audio data to transcribe (base64 encoded string or binary).
-
#headers : Shared::Headers | Nil
Additional HTTP headers to be sent with the request.
-
#media_type : String
The IANA media type of the audio data (e.g.
-
#provider_options : Shared::ProviderOptions | Nil
Additional provider-specific options.