update
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user