-
Home
-
Advanced Knowledge Base Documentation, Articles and FAQ Tool with AI Chat Integration, Security, Support, and Import/Export
-
15.0.0
-
Code
-
Classes
- EPKB_AI_Conversation_Model
Total Complexity |
85 |
Dependencies |
3 |
Dependents |
2 |
Total lines |
569 |
Lines of code |
221 |
Logical lines of code |
112 |
Comment lines |
265 |
Methods |
34 |
Properties |
15 |
Methods 34
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
__construct() |
A |
52 |
16 |
17 |
validate_id() |
S |
57 |
7 |
17 |
add_message() |
S |
53 |
5 |
22 |
parse_messages() |
S |
62 |
5 |
11 |
get_last_assistant_message() |
S |
65 |
4 |
8 |
parse_metadata() |
S |
68 |
4 |
7 |
has_message_id() |
S |
66 |
4 |
8 |
validate_widget_id() |
S |
68 |
3 |
7 |
validate_language() |
S |
68 |
3 |
7 |
validate_model() |
S |
68 |
3 |
7 |
generate_title_from_content() |
S |
63 |
3 |
9 |
to_db_array() |
S |
57 |
1 |
17 |
validate_rating() |
S |
70 |
2 |
7 |
validate_title() |
S |
69 |
2 |
7 |
validate_mode() |
S |
74 |
2 |
4 |
is_conversation_expired() |
S |
70 |
2 |
6 |
get_valid_conversation_id() |
S |
72 |
2 |
6 |
get_widget_id() |
S |
82 |
1 |
3 |
get_title() |
S |
82 |
1 |
3 |
get_meta() |
S |
82 |
1 |
3 |
get_user_id() |
S |
82 |
1 |
3 |
get_created() |
S |
82 |
1 |
3 |
from_db_row() |
S |
75 |
1 |
4 |
set_conversation_id() |
S |
76 |
1 |
4 |
is_chat() |
S |
80 |
1 |
3 |
is_search() |
S |
80 |
1 |
3 |
get_mode() |
S |
82 |
1 |
3 |
set_rating() |
S |
75 |
1 |
4 |
get_conversation_id() |
S |
82 |
1 |
3 |
get_chat_id() |
S |
82 |
1 |
3 |
get_id() |
S |
82 |
1 |
3 |
get_messages_array() |
S |
82 |
1 |
3 |
get_messages() |
S |
82 |
1 |
3 |
set_widget_id() |
S |
80 |
1 |
3 |