Meow_MWAI_Engines_OpenAI D

Total Complexity 187
Dependencies 3
Dependents 5
Total lines 1,028
Lines of code 806
Logical lines of code 497
Comment lines 87
Methods 34
Properties 18

Methods 34

Method Rating Maintainability Complexity Lines of code
run_completion_query()
C
31 24 105
run_images_query()
A
37 14 72
stream_handler()
A
41 14 56
calculate_price()
A
43 14 49
run_finetune()
A
44 14 45
set_environment()
A
46 13 38
run()
A
44 9 44
apply_query_parameters()
A
54 8 20
get_price()
A
49 7 31
run_transcribe_query()
S
46 6 36
run_query()
S
48 6 35
run_embedding_query()
S
48 6 30
list_deleted_finetunes()
S
54 5 23
__construct()
S
57 5 17
get_finetune_base_model()
S
58 5 17
get_incidents()
S
53 4 22
list_finetunes()
S
48 3 35
build_form_body()
S
55 4 20
build_options()
S
55 3 19
check_for_error()
S
61 3 11
get_suffix_for_model()
S
63 3 11
handle_response_errors()
S
64 3 9
get_audio()
S
60 2 13
build_headers()
S
64 2 10
get_openai_models()
S
79 1 3
list_files()
S
79 1 3
download_file()
S
77 1 3
delete_finetune()
S
78 1 3
get_model()
S
78 1 3
delete_file()
S
78 1 3
upload_file()
S
66 1 8
moderate()
S
70 1 6
get_env_id()
S
82 1 3
cancel_finetune()
S
78 1 3