set_Transcription_data Subroutine

private impure elemental subroutine set_Transcription_data(this, file_name, url, model, temperature, language, response_format)

Type Bound

Transcription

Arguments

Type IntentOptional 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

Calls

proc~~set_transcription_data~~CallsGraph proc~set_transcription_data foropenai_Transcription::Transcription%set_Transcription_data proc~load_transcription_data foropenai_Transcription::Transcription%load_Transcription_data proc~set_transcription_data->proc~load_transcription_data proc~set_file_name foropenai_base::openai%set_file_name proc~set_transcription_data->proc~set_file_name proc~set_language foropenai_Transcription::Transcription%set_language proc~set_transcription_data->proc~set_language proc~set_model foropenai_Transcription::Transcription%set_model proc~set_transcription_data->proc~set_model proc~set_response_format foropenai_Transcription::Transcription%set_response_format proc~set_transcription_data->proc~set_response_format proc~set_temperature foropenai_Transcription::Transcription%set_temperature proc~set_transcription_data->proc~set_temperature proc~set_url foropenai_Transcription::Transcription%set_url proc~set_transcription_data->proc~set_url proc~load_transcription_data->proc~set_file_name proc~load_language foropenai_Transcription::Transcription%load_language proc~load_transcription_data->proc~load_language proc~load_model foropenai_Transcription::Transcription%load_model proc~load_transcription_data->proc~load_model proc~load_response_format foropenai_Transcription::Transcription%load_response_format proc~load_transcription_data->proc~load_response_format proc~load_temperature foropenai_Transcription::Transcription%load_temperature proc~load_transcription_data->proc~load_temperature proc~load_url foropenai_Transcription::Transcription%load_url proc~load_transcription_data->proc~load_url destroy destroy proc~load_language->destroy get get proc~load_language->get initialize initialize proc~load_language->initialize load_file load_file proc~load_language->load_file proc~load_model->destroy proc~load_model->get proc~load_model->initialize proc~load_model->load_file proc~load_response_format->destroy proc~load_response_format->get proc~load_response_format->initialize proc~load_response_format->load_file proc~load_temperature->destroy proc~load_temperature->get proc~load_temperature->initialize proc~load_temperature->load_file proc~load_url->destroy proc~load_url->get proc~load_url->initialize proc~load_url->load_file

Called by

proc~~set_transcription_data~~CalledByGraph proc~set_transcription_data foropenai_Transcription::Transcription%set_Transcription_data program~test_transcription test_Transcription program~test_transcription->proc~set_transcription_data

Source Code

   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