update
This commit is contained in:
+4
-4
@@ -201,18 +201,18 @@ function sommelier(
|
||||
|
||||
# you should then respond to the user with interleaving think, action_name, action_input in JSON format
|
||||
1) "think", Your step-by-step reasoning process. Explain why you are choosing this action.
|
||||
2) "action_name", Can be one of the available actions
|
||||
2) "action_name", Can be one of the available actions. Typically corresponds to the execution of the first step in your thought
|
||||
3) "action_input", The input to the action you are about to perform.
|
||||
After the action is executed you gets "action_result". It is the output from the action you selected.
|
||||
|
||||
# available actions
|
||||
"CHAT_BOX", which you can use to talk with the user. The input is dialogue you want to chat with the user according to your plan.
|
||||
"CHAT_BOX", which you can use to talk with the user. The input is dialogue you want to say with the user.
|
||||
"SEARCH_WINE_DATABASE", allows you to search information about wines you want in your inventory's database. The input is strictly supported search term including: retailer_name, wine price, winery, name, vintage, region, country, type of wine, grape varietal, tasting notes, occasion, food pairing, intensity, tannin, sweetness, and acidity.
|
||||
Example query 1: "Dry, full-bodied red wine from Burgundy, France. Grape varietal could be Merlot or Syrah. price 100 to 1000 USD."
|
||||
Example query 2: "Red or white wine, medium tannin, price under 700 USD"
|
||||
Example query 3: "white wine from Tuscany, Italy or Bordeaux, France
|
||||
"WINE_PRESENTATION_GUIDELINE", which you can use to check the store guidelines about how to present wines you have found to the user. The input is "nothing" keyword. The output is the guidelines that you can follow.
|
||||
"END_CONVER_GUIDELINE", which you can use to check the store guidelines about how to end the conversation with the user. The input is "nothing" keyword. The output is the guidelines that you can follow.
|
||||
"WINE_PRESENTATION_GUIDELINE", store guidelines about how to present wines to the user appropriately. The input is "null" keyword.
|
||||
"END_CONVER_GUIDELINE", store guidelines about how to end the conversation with the user appropriately. The input is "null" keyword.
|
||||
"""
|
||||
|
||||
system_msg = Dict(
|
||||
|
||||
Reference in New Issue
Block a user