-
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_Config
Total Complexity |
54 |
Dependencies |
2 |
Dependents |
9 |
Total lines |
410 |
Lines of code |
170 |
Logical lines of code |
85 |
Comment lines |
166 |
Methods |
26 |
Properties |
1 |
Methods 26
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
validate_metadata() |
A |
49 |
11 |
29 |
get_api_key() |
S |
57 |
6 |
17 |
validate_api_key_format() |
S |
60 |
6 |
13 |
save_api_key() |
S |
61 |
4 |
11 |
validate_max_tokens() |
S |
66 |
3 |
10 |
validate_temperature() |
S |
66 |
3 |
10 |
validate_config() |
S |
53 |
1 |
23 |
get() |
S |
78 |
2 |
3 |
__construct() |
S |
80 |
1 |
3 |
get_api_key_from_options() |
S |
80 |
1 |
3 |
get_organization_id_from_options() |
S |
79 |
1 |
3 |
set() |
S |
80 |
1 |
3 |
get_organization_id() |
S |
80 |
1 |
3 |
get_model() |
S |
80 |
1 |
3 |
get_max_tokens() |
S |
80 |
1 |
3 |
get_temperature() |
S |
80 |
1 |
3 |
get_timeout() |
S |
80 |
1 |
3 |
get_upload_timeout() |
S |
80 |
1 |
3 |
get_max_retries() |
S |
80 |
1 |
3 |
get_retry_delay() |
S |
80 |
1 |
3 |
get_ssl_verify() |
S |
80 |
1 |
3 |
is_debug_mode() |
S |
80 |
1 |
3 |
is_cache_enabled() |
S |
80 |
1 |
3 |
get_cache_ttl() |
S |
80 |
1 |
3 |
get_api_url() |
S |
79 |
1 |
3 |
get_all() |
S |
82 |
1 |
3 |