This commit is contained in:
Your Name
2024-02-19 06:35:40 +07:00
parent 1fea682d6e
commit 5965784c7e
2 changed files with 5 additions and 3 deletions

View File

@@ -221,9 +221,9 @@ function planner_mistral_openorca(a::agentReflex)
1. Ask the user about how many miles per day they drive
2. Ask the user about what stuff they usually carry with
3. Ask the user about preferred type of car they want to buy (sedan, sport, SUV, etc)
8. Ask the user about their price range
9. Use inventory tool to find cars that match the user's preferences and are within their price range
10. Use finalanswer tool to present the recommended car to the user.
4. Ask the user about their price range
5. Use inventory tool to find cars that match the user's preferences and are within their price range
6. Use finalanswer tool to present the recommended car to the user.
Keyword memory: {"mile per day": null, "carry item": null, "car type": null, "price range": null}
</Example>
</s>

View File

@@ -386,6 +386,8 @@ function isUsePlans(a::agentReflex)
isuseplan = true
elseif a.role == :assistant
isuseplan = false
elseif a.role == :sommelier
isuseplan = true
else
# if LLM mentions any tools, use Plan/Thought/Act loop
response = sendReceivePrompt(a, prompt, temperature=0.2, max_tokens=64, stopword=["<|", "</"])