This commit is contained in:
2024-12-23 07:20:40 +07:00
parent 4f7f23565e
commit 1e36ea96e9

View File

@@ -234,7 +234,7 @@ function decisionMaker(state::T1, context, text2textInstructLLM::Function,
# detect if there are more than 1 key per categories # detect if there are more than 1 key per categories
count = GeneralUtils.countGivenWords(response, header) count = GeneralUtils.countGivenWords(response, header)
if sum(count) > length(header) if sum(count) > length(header)
error("duplicated words", @__FILE__, " ", @__LINE__) error("\nSQL decisionMaker() duplicated keywords", @__FILE__, " ", @__LINE__)
end end
# textToDict() search for action_input # textToDict() search for action_input