MoMo_ACG_Chatbot_Frontned D

Total Complexity 132
Dependencies 1
Dependents 1
Total lines 606
Lines of code 501
Logical lines of code 271
Comment lines 79
Methods 15
Properties 1

Methods 15

Method Rating Maintainability Complexity Lines of code
momo_acg_chatbot_post_handler()
D
19
59 204
momo_acg_generate_chatbot()
D
30 32 113
momo_acg_get_embeddings_list()
S
55 7 20
momo_chatbot_log_transient()
S
53 6 22
momo_generate_embeddings_for_user_input()
S
53 6 22
momo_acg_cb_load_scripts_styles()
S
53 6 19
momo_chatbot_add_context_to_start()
S
59 3 14
momo_acg_cb_check_similarity()
S
60 3 13
momo_acg_cosine_similarity()
S
53 2 28
momo_chatbot_rest_api_init()
S
59 1 16
momo_generate_session_id()
S
69 2 7
momo_chatbot_add_previous_questions()
S
69 2 6
__construct()
S
72 1 5
momo_chatbot_get_transient_id()
S
76 1 4
momo_get_post_content_by_id_index()
S
66 1 8