-
Home
-
AI Engine
-
2.1.4
-
Code
-
Classes
- Meow_MWAI_Engines_OpenAI
Total Complexity |
195 |
Dependencies |
3 |
Dependents |
2 |
Total lines |
1,044 |
Lines of code |
835 |
Logical lines of code |
515 |
Comment lines |
78 |
Methods |
38 |
Properties |
11 |
Methods 38
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
run_completion_query() |
C |
30 |
26 |
112 |
stream_handler() |
B |
40 |
16 |
61 |
run_images_query() |
A |
38 |
14 |
64 |
calculate_price() |
A |
43 |
14 |
49 |
run_finetune() |
A |
44 |
14 |
45 |
execute() |
A |
44 |
9 |
44 |
get_price() |
S |
49 |
7 |
30 |
run_query() |
S |
49 |
7 |
30 |
build_prompt() |
S |
52 |
7 |
24 |
run_transcribe_query() |
S |
47 |
5 |
35 |
build_messages() |
S |
50 |
5 |
32 |
run_embedding_query() |
S |
48 |
5 |
30 |
list_deleted_finetunes() |
S |
54 |
5 |
23 |
check_for_error() |
S |
54 |
5 |
20 |
get_finetune_base_model() |
S |
58 |
5 |
17 |
set_environment() |
S |
57 |
5 |
15 |
get_incidents() |
S |
53 |
4 |
22 |
list_finetunes() |
S |
48 |
3 |
35 |
build_form_body() |
S |
55 |
4 |
20 |
build_headers() |
S |
58 |
4 |
16 |
build_options() |
S |
55 |
3 |
19 |
get_azure_deployment_name() |
S |
65 |
4 |
8 |
get_suffix_for_model() |
S |
63 |
3 |
11 |
handle_response_errors() |
S |
64 |
3 |
9 |
handle_tokens_usage() |
S |
69 |
3 |
6 |
get_audio() |
S |
60 |
2 |
13 |
get_service_name() |
S |
79 |
2 |
3 |
moderate() |
S |
70 |
1 |
6 |
upload_file() |
S |
66 |
1 |
8 |
delete_file() |
S |
78 |
1 |
3 |
get_model() |
S |
78 |
1 |
3 |
cancel_finetune() |
S |
78 |
1 |
3 |
delete_finetune() |
S |
78 |
1 |
3 |
download_file() |
S |
77 |
1 |
3 |
list_files() |
S |
79 |
1 |
3 |
get_models() |
S |
79 |
1 |
3 |
get_models_static() |
S |
81 |
1 |
3 |
__construct() |
S |
76 |
1 |
4 |