Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transcription), | intent(inout) | :: | this | |||
character(len=*), | intent(in), | optional | :: | file_name | ||
character(len=*), | intent(in), | optional | :: | url | ||
character(len=*), | intent(in), | optional | :: | model | ||
real, | intent(in), | optional | :: | temperature | ||
character(len=*), | intent(in), | optional | :: | language | ||
character(len=*), | intent(in), | optional | :: | response_format |
elemental impure subroutine set_Transcription_data(this, file_name, & url, model, temperature, language, response_format) class(Transcription), intent(inout) :: this character(len=*), optional, intent(in) :: file_name character(len=*), optional, intent(in) :: url character(len=*), optional, intent(in) :: model real, optional, intent(in) :: temperature character(len=*), optional, intent(in) :: language character(len=*), optional, intent(in) :: response_format if (present(url)) call this%set_url(url=url) if (present(model)) call this%set_model(model=model) if (present(temperature)) call this%set_temperature(temperature=temperature) if (present(language)) call this%set_language(language=language) if (present(response_format)) call this%set_response_format(response_format=response_format) if (present(file_name)) then call this%set_file_name(file_name) call this%load(file_name) end if end subroutine set_Transcription_data