This commit is contained in:
Your Name
2024-02-11 13:21:07 +07:00
parent 4ae2f4d036
commit e38ae31d72
2 changed files with 4 additions and 5 deletions

View File

@@ -350,7 +350,7 @@ function selfAwareness(a::agentReflex)
</About yourself>
<Your job>
Use the following format strictly:
Info extraction: from the latest observed result, breakdown all info into smaller one and repeat every important info thoroughly
Info extraction: from the latest observed result, breakdown all info into smaller one and repeat every important info thoroughly (PS. check <Required wine info> for more details)
Info mapping: based on extracted info, explicitly state what each info could match which keyword memory's key
Info matching: using JSON format, what key in my memory matches which info (Donot use nested JSON)
</Your job>
@@ -924,9 +924,6 @@ function actor_mistral_openorca(a::agentReflex, selfaware=nothing)
Recall: repeat each of the user info, if you didn't know (indicate by null) say, which info I didn't know
"""
#WORKING actor donot call final reapond after found matched wines because the current prompt
# does not contain a.memory[:shortterm] and Thought: do not look for mached wine. Therefore, LLM
# did not see matched wine info
prompt_1 =
"""
<s>
@@ -940,7 +937,7 @@ function actor_mistral_openorca(a::agentReflex, selfaware=nothing)
</You have access to the following tools>
<Your job>
Use the following format:
Thought: check the user info thoroughly, if you don't know some info (indicates by null keyword) you must address it first. Otherwise, you must think about what is the immediate next step to do according to the plan (PS. 1. pay attention to correct numeral calculation and commonsense 2. you must assume nothing)
Thought: check the user info thoroughly, if there is something you don't know (as indicates by null) you must address it first. Otherwise, you must think about what is the immediate next step to do according to the plan (PS. 1. pay attention to correct numeral calculation and commonsense 2. you must assume nothing)
Act: based on your thought what action to choose?, must be one of [{toolnames}].
Actinput: your input to the action using JSON format (pay attention to the tool's input)
Obs: observed result of the action