test_base Program

Uses

  • program~~test_base~~UsesGraph program~test_base test_base module~foropenai foropenai program~test_base->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_base~~CallsGraph program~test_base test_base proc~deallocate_openai foropenai_base::openai%deallocate_openai program~test_base->proc~deallocate_openai proc~print_api_key foropenai_base::openai%print_api_key program~test_base->proc~print_api_key proc~print_file_name foropenai_base::openai%print_file_name program~test_base->proc~print_file_name proc~print_organization foropenai_base::openai%print_organization program~test_base->proc~print_organization proc~set_base_data foropenai_base::openai%set_base_data program~test_base->proc~set_base_data proc~deallocate_api_key foropenai_base::openai%deallocate_api_key proc~deallocate_openai->proc~deallocate_api_key proc~deallocate_file_name foropenai_base::openai%deallocate_file_name proc~deallocate_openai->proc~deallocate_file_name proc~deallocate_organization foropenai_base::openai%deallocate_organization proc~deallocate_openai->proc~deallocate_organization 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_api_key->proc~set_file_name destroy destroy proc~load_api_key->destroy get get proc~load_api_key->get initialize initialize proc~load_api_key->initialize load_file load_file proc~load_api_key->load_file proc~load_organization->proc~set_file_name proc~load_organization->destroy proc~load_organization->get proc~load_organization->initialize proc~load_organization->load_file proc~set_api_key_env->proc~set_api_key proc~set_organization_env->proc~set_organization

Variables

Type Attributes Name Initial
type(openai) :: base

Source Code

program test_base

   use foropenai, only: openai

   implicit none

   type(openai) :: base

   call base%set_base_data(file_name='foropenai.json')
   
   call base%print_api_key()
   call base%print_organization()
   call base%print_file_name()

   call base%finalize()

end program test_base