OpenAIAudioToTextExecutionSettings Class
Request settings for OpenAI audio to text services.
Initialize the prompt execution settings.
Constructor
OpenAIAudioToTextExecutionSettings(service_id: str | None = None, *, extension_data: dict[str, Any] = None, function_choice_behavior: FunctionChoiceBehavior | None = None, ai_model_id: str | None = None, filename: str | None = None, language: str | None = None, prompt: str | None = None, response_format: str | None = None, temperature: float | None = None)
Parameters
Name | Description |
---|---|
service_id
|
The service ID to use for the request. Default value: None
|
kwargs
Required
|
Additional keyword arguments, these are attempted to parse into the keys of the specific prompt execution settings. |
Keyword-Only Parameters
Name | Description |
---|---|
extension_data
Required
|
|
function_choice_behavior
Required
|
|
ai_model_id
Required
|
|
filename
Required
|
|
language
Required
|
|
prompt
Required
|
|
response_format
Required
|
|
temperature
Required
|
|
Methods
prepare_settings_dict |
Prepare the settings dictionary for the OpenAI API. |
prepare_settings_dict
Prepare the settings dictionary for the OpenAI API.
prepare_settings_dict(**kwargs) -> dict[str, Any]
Attributes
ai_model_id
ai_model_id: str | None
filename
filename: str | None
language
language: str | None
prompt
prompt: str | None
response_format
response_format: str | None
temperature
temperature: float | None