test_Transcription Program

Uses

  • program~~test_transcription~~UsesGraph program~test_transcription test_Transcription module~foropenai foropenai program~test_transcription->module~foropenai module~foropenai_base foropenai_base module~foropenai->module~foropenai_base module~foropenai_chatcompletion foropenai_ChatCompletion module~foropenai->module~foropenai_chatcompletion module~foropenai_imagegeneration foropenai_ImageGeneration module~foropenai->module~foropenai_imagegeneration module~foropenai_transcription foropenai_Transcription module~foropenai->module~foropenai_transcription module~foropenai_translation foropenai_Translation module~foropenai->module~foropenai_translation module~foropenai_chatcompletion->module~foropenai_base module~foropenai_imagegeneration->module~foropenai_base module~foropenai_transcription->module~foropenai_base module~foropenai_translation->module~foropenai_base

Calls

program~~test_transcription~~CallsGraph program~test_transcription test_Transcription proc~create_transcription foropenai_Transcription::Transcription%create_transcription program~test_transcription->proc~create_transcription proc~deallocate_transcription foropenai_Transcription::Transcription%deallocate_Transcription program~test_transcription->proc~deallocate_transcription proc~print_assistant_response foropenai_Transcription::Transcription%print_assistant_response program~test_transcription->proc~print_assistant_response proc~print_file foropenai_Transcription::Transcription%print_file program~test_transcription->proc~print_file proc~set_base_data foropenai_base::openai%set_base_data program~test_transcription->proc~set_base_data proc~set_transcription_data foropenai_Transcription::Transcription%set_Transcription_data program~test_transcription->proc~set_transcription_data deserialize deserialize proc~create_transcription->deserialize destroy destroy proc~create_transcription->destroy get get proc~create_transcription->get initialize initialize proc~create_transcription->initialize pair_type pair_type proc~create_transcription->pair_type proc~set_file foropenai_Transcription::Transcription%set_file proc~create_transcription->proc~set_file proc~set_prompt foropenai_Transcription::Transcription%set_prompt proc~create_transcription->proc~set_prompt request request proc~create_transcription->request proc~deallocate_assistant_response foropenai_Transcription::Transcription%deallocate_assistant_response proc~deallocate_transcription->proc~deallocate_assistant_response proc~deallocate_file foropenai_Transcription::Transcription%deallocate_file proc~deallocate_transcription->proc~deallocate_file proc~deallocate_language foropenai_Transcription::Transcription%deallocate_language proc~deallocate_transcription->proc~deallocate_language proc~deallocate_model foropenai_Transcription::Transcription%deallocate_model proc~deallocate_transcription->proc~deallocate_model proc~deallocate_prompt foropenai_Transcription::Transcription%deallocate_prompt proc~deallocate_transcription->proc~deallocate_prompt proc~deallocate_url foropenai_Transcription::Transcription%deallocate_url proc~deallocate_transcription->proc~deallocate_url colorize colorize proc~print_assistant_response->colorize proc~print_file->colorize proc~load_api_key foropenai_base::openai%load_api_key proc~set_base_data->proc~load_api_key proc~load_organization foropenai_base::openai%load_organization proc~set_base_data->proc~load_organization proc~set_api_key foropenai_base::openai%set_api_key proc~set_base_data->proc~set_api_key proc~set_api_key_env foropenai_base::openai%set_api_key_env proc~set_base_data->proc~set_api_key_env proc~set_file_name foropenai_base::openai%set_file_name proc~set_base_data->proc~set_file_name proc~set_organization foropenai_base::openai%set_organization proc~set_base_data->proc~set_organization proc~set_organization_env foropenai_base::openai%set_organization_env proc~set_base_data->proc~set_organization_env proc~load_transcription_data foropenai_Transcription::Transcription%load_Transcription_data proc~set_transcription_data->proc~load_transcription_data 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_api_key->destroy proc~load_api_key->get proc~load_api_key->initialize proc~load_api_key->proc~set_file_name load_file load_file proc~load_api_key->load_file proc~load_organization->destroy proc~load_organization->get proc~load_organization->initialize proc~load_organization->proc~set_file_name proc~load_organization->load_file 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 proc~set_api_key_env->proc~set_api_key proc~set_organization_env->proc~set_organization proc~load_language->destroy proc~load_language->get proc~load_language->initialize 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

Variables

Type Attributes Name Initial
type(Transcription) :: trs

Source Code

program test_Transcription

   use foropenai, only: Transcription

   implicit none

   type(Transcription) :: trs

   call trs%set_base_data(file_name='foropenai.json')
   call trs%set(file_name='foropenai.json')

   call trs%create(file='test/audio.mp3')
   call trs%print_file()
   call trs%print_assistant_response()

   call trs%finalize()

end program test_Transcription