-
Home
-
AI Engine
-
2.5.2
-
Code
-
Classes
- Meow_MWAI_Engines_OpenAI
Total Complexity |
313 |
Dependencies |
10 |
Dependents |
2 |
Total lines |
1,458 |
Lines of code |
1,242 |
Logical lines of code |
758 |
Comment lines |
73 |
Methods |
44 |
Properties |
15 |
Methods 44
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
stream_data_handler() |
D |
20 |
61 |
203 |
build_body() |
C |
31 |
29 |
105 |
run_completion_query() |
B |
34 |
21 |
91 |
build_url() |
B |
39 |
20 |
64 |
execute() |
B |
38 |
15 |
67 |
calculate_price() |
A |
43 |
14 |
49 |
run_finetune() |
A |
44 |
14 |
45 |
run_query() |
A |
44 |
11 |
44 |
run_images_query() |
A |
43 |
8 |
44 |
get_models() |
A |
52 |
8 |
25 |
get_price() |
S |
49 |
7 |
30 |
build_messages() |
S |
47 |
6 |
41 |
build_prompt() |
S |
52 |
7 |
24 |
create_vector_store() |
S |
53 |
7 |
21 |
run_embedding_query() |
S |
49 |
5 |
29 |
download_file() |
S |
51 |
5 |
25 |
list_finetunes() |
S |
47 |
4 |
40 |
list_deleted_finetunes() |
S |
54 |
5 |
23 |
build_headers() |
S |
56 |
5 |
19 |
get_finetune_base_model() |
S |
58 |
5 |
17 |
run_transcribe_query() |
S |
50 |
4 |
27 |
get_incidents() |
S |
53 |
4 |
22 |
build_form_body() |
S |
55 |
4 |
20 |
handle_tokens_usage() |
S |
59 |
4 |
15 |
set_environment() |
S |
62 |
4 |
11 |
build_options() |
S |
55 |
3 |
19 |
handle_response_errors() |
S |
64 |
4 |
9 |
get_azure_deployment_name() |
S |
65 |
4 |
8 |
get_suffix_for_model() |
S |
63 |
3 |
11 |
__construct() |
S |
65 |
3 |
8 |
get_audio() |
S |
60 |
2 |
13 |
create() |
S |
63 |
2 |
11 |
try_decode_error() |
S |
68 |
2 |
7 |
get_service_name() |
S |
79 |
2 |
3 |
list_files() |
S |
70 |
2 |
6 |
reset_stream() |
S |
64 |
1 |
11 |
get_model() |
S |
78 |
1 |
3 |
cancel_finetune() |
S |
78 |
1 |
3 |
delete_finetune() |
S |
78 |
1 |
3 |
delete_file() |
S |
78 |
1 |
3 |
add_vector_store_file() |
S |
68 |
1 |
6 |
upload_file() |
S |
66 |
1 |
8 |
moderate() |
S |
70 |
1 |
6 |
get_models_static() |
S |
81 |
1 |
3 |