load_base_data Subroutine

private impure elemental subroutine load_base_data(this, file_name)

Type Bound

openai

Arguments

Type IntentOptional Attributes Name
class(openai), intent(inout) :: this
character(len=*), intent(in) :: file_name

Calls

proc~~load_base_data~~CallsGraph proc~load_base_data foropenai_base::openai%load_base_data proc~load_api_key foropenai_base::openai%load_api_key proc~load_base_data->proc~load_api_key proc~load_organization foropenai_base::openai%load_organization proc~load_base_data->proc~load_organization proc~set_file_name foropenai_base::openai%set_file_name proc~load_base_data->proc~set_file_name 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

Source Code

   elemental impure subroutine load_base_data(this, file_name)
      class(openai),    intent(inout) :: this
      character(len=*), intent(in)    :: file_name
      call this%set_file_name(trim(file_name))
      call this%load_api_key()
      call this%load_organization()
   end subroutine load_base_data