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' | ||
character(len=:), | public, | allocatable | :: | url | |||
character(len=:), | public, | allocatable | :: | model | |||
character(len=:), | public, | allocatable | :: | language | |||
character(len=:), | public, | allocatable | :: | prompt | |||
character(len=:), | public, | allocatable | :: | file | |||
character(len=:), | public, | allocatable | :: | assistant_response | |||
character(len=4), | public | :: | response_format | = | 'json' | ||
real, | public | :: | temperature | = | 0.0 |
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), | optional | :: | file_name | ||
character(len=*), | intent(in), | optional | :: | api_key | ||
character(len=*), | intent(in), | optional | :: | organization |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transcription), | intent(inout) | :: | this | |||
character(len=*), | intent(in) | :: | file | |||
character(len=*), | intent(in), | optional | :: | prompt |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transcription), | intent(inout) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transcription), | intent(inout) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transcription), | intent(inout) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transcription), | intent(inout) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transcription), | intent(inout) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transcription), | intent(inout) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transcription), | intent(inout) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transcription), | intent(inout) | :: | this | |||
character(len=*), | intent(in) | :: | file_name |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transcription), | intent(inout) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transcription), | intent(inout) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transcription), | intent(inout) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transcription), | intent(inout) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transcription), | intent(inout) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transcription), | intent(inout) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transcription), | intent(inout) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transcription), | intent(inout) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transcription), | intent(inout) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transcription), | intent(inout) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transcription), | intent(inout) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transcription), | intent(inout) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transcription), | intent(inout) | :: | this | |||
character(len=*), | intent(in) | :: | assistant_response |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transcription), | intent(inout) | :: | this | |||
character(len=*), | intent(in) | :: | prompt |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transcription), | intent(inout) | :: | this | |||
character(len=*), | intent(in) | :: | url |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transcription), | intent(inout) | :: | this | |||
character(len=*), | intent(in) | :: | model |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transcription), | intent(inout) | :: | this | |||
real, | intent(in) | :: | temperature |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transcription), | intent(inout) | :: | this | |||
character(len=*), | intent(in) | :: | language |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transcription), | intent(inout) | :: | this | |||
character(len=*), | intent(in) | :: | response_format |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transcription), | intent(inout) | :: | this | |||
character(len=*), | intent(in) | :: | file |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Transcription), | intent(inout) | :: | this | |||
character(len=*), | intent(in), | optional | :: | file_name | ||
character(len=*), | intent(in), | optional | :: | url | ||
character(len=*), | intent(in), | optional | :: | model | ||
real, | intent(in), | optional | :: | temperature | ||
character(len=*), | intent(in), | optional | :: | language | ||
character(len=*), | intent(in), | optional | :: | response_format |
type, extends(openai) :: Transcription character(len=:), allocatable :: url character(len=:), allocatable :: model character(len=:), allocatable :: language character(len=:), allocatable :: prompt character(len=:), allocatable :: file character(len=:), allocatable :: assistant_response character(len=4) :: response_format='json' real :: temperature=0.0 contains procedure :: create => create_transcription procedure, private :: deallocate_url procedure, private :: deallocate_model procedure, private :: deallocate_language procedure, private :: deallocate_prompt procedure, private :: deallocate_file procedure, private :: deallocate_assistant_response procedure :: finalize => deallocate_Transcription procedure, private :: load => load_Transcription_data procedure, private :: load_url procedure, private :: load_model procedure, private :: load_temperature procedure, private :: load_language procedure, private :: load_response_format procedure, private :: print_model procedure, private :: print_temperature procedure, private :: print_language procedure, private :: print_response_format procedure, private :: print_prompt procedure :: print_assistant_response procedure :: print_file procedure, private :: set_assistant_response procedure, private :: set_prompt procedure, private :: set_url procedure, private :: set_model procedure, private :: set_temperature procedure, private :: set_language procedure, private :: set_response_format procedure, private :: set_file procedure :: set => set_Transcription_data end type Transcription