update
This commit is contained in:
@@ -218,7 +218,6 @@ function decisionMaker(state::T1, context, text2textInstructLLM::Function,
|
|||||||
try
|
try
|
||||||
response = text2textInstructLLM(prompt)
|
response = text2textInstructLLM(prompt)
|
||||||
|
|
||||||
#BUG sometime LLM get "action_input_5". this will cause error because
|
|
||||||
# textToDict() search for action_input
|
# textToDict() search for action_input
|
||||||
responsedict = GeneralUtils.textToDict(response,
|
responsedict = GeneralUtils.textToDict(response,
|
||||||
["Understanding", "Reasoning", "Plan", "Action_name", "Action_input", "Observation"],
|
["Understanding", "Reasoning", "Plan", "Action_name", "Action_input", "Observation"],
|
||||||
|
|||||||
Reference in New Issue
Block a user