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' |
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), | optional | :: | 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 | |||
character(len=*), | intent(in) | :: | 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 |
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) | :: | api_key |
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 | |||
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 | |||
character(len=*), | intent(in), | optional | :: | file_name | ||
character(len=*), | intent(in), | optional | :: | api_key | ||
character(len=*), | intent(in), | optional | :: | organization |
type openai character(len=:), allocatable :: organization character(len=:), allocatable :: api_key character(len=:), allocatable :: file_name character(len=14) :: api_key_env = 'OPENAI_API_KEY' character(len=10) :: organization_env = 'OPENAI_ORG' contains procedure, private :: deallocate_api_key procedure, private :: deallocate_organization procedure, private :: deallocate_file_name procedure :: finalize => deallocate_openai procedure, private :: load_api_key procedure, private :: load_organization procedure :: load_base_data procedure :: print_api_key procedure :: print_organization procedure :: print_file_name procedure :: set_file_name procedure, private :: set_api_key procedure, private :: set_organization procedure, private :: set_api_key_env procedure, private :: set_organization_env procedure :: set_base_data end type openai