Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=:), | public, | allocatable | :: | organization | |||
character(len=:), | public, | allocatable | :: | api_key | |||
character(len=:), | public, | allocatable | :: | file_name | |||
character(len=14), | public | :: | api_key_env | = | 'OPENAI_API_KEY' | ||
character(len=10), | public | :: | organization_env | = | 'OPENAI_ORG' |
procedure, private :: deallocate_api_key | |
procedure, private :: deallocate_organization | |
procedure, private :: deallocate_file_name | |
procedure, public :: finalize => deallocate_openai | |
procedure, private :: load_api_key | |
procedure, private :: load_organization | |
procedure, public :: load_base_data | |
procedure, public :: print_api_key | |
procedure, public :: print_organization | |
procedure, public :: print_file_name | |
procedure, public :: set_file_name | |
procedure, private :: set_api_key | |
procedure, private :: set_organization | |
procedure, private :: set_api_key_env | |
procedure, private :: set_organization_env | |
procedure, public :: set_base_data |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(openai), | intent(inout) | :: | this | |||
character(len=*), | intent(in), | optional | :: | file_name | ||
character(len=*), | intent(in), | optional | :: | api_key | ||
character(len=*), | intent(in), | optional | :: | organization |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(openai), | intent(inout) | :: | this | |||
integer, | intent(out), | optional | :: | status |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(openai), | intent(inout) | :: | this | |||
integer, | intent(out), | optional | :: | status |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(openai), | intent(inout) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(openai), | intent(inout) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(openai), | intent(inout) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(openai), | intent(inout) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(openai), | intent(inout) | :: | this | |||
character(len=*), | intent(in) | :: | file_name |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(openai), | intent(inout) | :: | this | |||
character(len=*), | intent(in) | :: | organization |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(openai), | intent(inout) | :: | this | |||
character(len=*), | intent(in) | :: | api_key |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(openai), | intent(inout) | :: | this | |||
character(len=*), | intent(in), | optional | :: | file_name |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(openai), | intent(inout) | :: | this | |||
character(len=*), | intent(in) | :: | file_name |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(openai), | intent(inout) | :: | this | |||
character(len=*), | intent(in), | optional | :: | file_name |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(openai), | intent(inout) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(openai), | intent(inout) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(openai), | intent(inout) | :: | this |