Meow_MWAI_Query_Base S

Total Complexity 38
Dependencies 1
Dependents 1
Total lines 250
Lines of code 135
Logical lines of code 55
Comment lines 67
Methods 28
Properties 13

Methods 28

Method Rating Maintainability Complexity Lines of code
estimateTokens()
S
53 6 24
convertKeys()
S
56 5 18
__construct()
S
69 2 7
jsonSerialize()
S
61 1 12
setExtraParam()
S
80 1 3
toJson()
S
80 1 3
finalChecks()
S
91 1 2
setMaxResults()
S
81 1 3
setBotId()
S
81 1 3
setSession()
S
81 1 3
setService()
S
81 1 3
setApiKey()
S
81 1 3
getMessages()
S
82 1 3
getLastMessage()
S
81 1 3
setNewMessage()
S
81 1 3
getPrompt()
S
82 1 3
setPrompt()
S
81 1 3
setMode()
S
81 1 3
getModel()
S
82 1 3
setModel()
S
81 1 3
setEnvId()
S
81 1 3
setEnv()
S
81 1 3
getLastPrompt()
S
82 1 3
replace()
S
79 1 3
getFunctions()
S
82 1 3
setFunctions()
S
77 1 4
addFunction()
S
76 1 4
getExtraParam()
S
76 1 4