update
This commit is contained in:
@@ -175,7 +175,8 @@ function decisionMaker(a::T; recent::Integer=5)::Dict{Symbol,Any} where {T<:agen
|
||||
- Do not ask the user about wine's flavor e.g. floral, citrusy, nutty or some thing similar as these terms cannot be used to search the database.
|
||||
- Once the user has selected their wine, ask the user if they need any further assistance. Do not offer any additional services. If the user doesn't need any further assistance, say goodbye and invite them to come back next time.
|
||||
|
||||
You should follow the following guidelines:
|
||||
Tips:
|
||||
- Understanding the user's preferences is key in helping them find the best wine.
|
||||
- Identifying at least four preferences before checking inventory significantly improves search results
|
||||
- Sometimes, the item a user desires might not be available in your inventory. In such cases, inform the user that the item is unavailable and suggest an alternative instead.
|
||||
|
||||
@@ -957,7 +958,7 @@ function generatechat(a::sommelier, thought::T) where {T<:AbstractString}
|
||||
println("\n~~~ generatechat() ", @__FILE__, " ", @__LINE__)
|
||||
pprintln(Dict(responsedict))
|
||||
|
||||
#[WORKING] check whether an agent recommend wines before checking inventory or recommend wines
|
||||
# check whether an agent recommend wines before checking inventory or recommend wines
|
||||
# outside its inventory
|
||||
# ask LLM whether there are any winery mentioned in the response
|
||||
mentioned_winery = detectWineryName(a, responsedict[:chat])
|
||||
|
||||
Reference in New Issue
Block a user