Better_Messages_OpenAI_API D

Total Complexity 225
Dependencies 11
Dependents 1
Total lines 1,500
Lines of code 1,149
Logical lines of code 727
Comment lines 15
Methods 20
Properties 1

Methods 20

Method Rating Maintainability Complexity Lines of code
responseProvider()
D
16
48 269
process_reply()
D
26
33 151
audioProvider()
D
24
27 186
chatProvider()
C
30 24 115
ensureResponseCompletionJob()
B
30 17 127
createResponse()
A
44 11 44
cancel_response()
A
40 10 59
get_open_ai_conversation()
A
48 7 33
get_response_input()
S
52 7 24
sync_conversation()
S
52 7 23
get_response()
S
54 6 20
check_api_key()
S
55 6 19
delete_conversation_message()
S
55 6 18
get_models()
S
55 5 19
reply_to_message()
S
57 5 17
instance()
S
69 2 7
__construct()
S
79 1 3
update_api_key()
S
79 1 3
get_api_key()
S
82 1 3
get_client()
S
65 1 9