update
This commit is contained in:
@@ -357,7 +357,7 @@ function extractWineAttributes_1(a::T1, input::T2)::String where {T1<:agent, T2<
|
||||
You should then respond to the user with the following points:
|
||||
- reasoning: state your understanding of the current situation
|
||||
- wine_type: can be one of: "red", "white", "sparkling", "rose", "dessert" or "fortified"
|
||||
- price: must be an integer representing the cost of the wine
|
||||
- price: price of wine. For example, up to 100, less than 100, 20 to 100, 30-79.95
|
||||
- occasion: ...
|
||||
- food_to_be_paired_with_wine: food that the user will be served with the wine
|
||||
- region: a region in a country where the wine is produced, such as Burgundy, Napa Valley, etc
|
||||
@@ -369,7 +369,7 @@ function extractWineAttributes_1(a::T1, input::T2)::String where {T1<:agent, T2<
|
||||
You should only respond in the form as described below:
|
||||
reasoning: ...
|
||||
wine_type: ...
|
||||
price: ...
|
||||
wine_price: ...
|
||||
occasion: ...
|
||||
food_to_be_paired_with_wine: ...
|
||||
region: ...
|
||||
@@ -381,7 +381,7 @@ function extractWineAttributes_1(a::T1, input::T2)::String where {T1<:agent, T2<
|
||||
Let's begin!
|
||||
"""
|
||||
|
||||
attributes = ["reasoning", "wine_type", "price", "occasion", "food_to_be_paired_with_wine", "region", "country", "grape_variety", "flavors", "aromas"]
|
||||
attributes = ["reasoning", "wine_type", "wine_price", "occasion", "food_to_be_paired_with_wine", "region", "country", "grape_variety", "flavors", "aromas"]
|
||||
errornote = ""
|
||||
maxattempt = 5
|
||||
for attempt in 1:maxattempt
|
||||
@@ -477,7 +477,7 @@ function extractWineAttributes_1(a::T1, input::T2)::String where {T1<:agent, T2<
|
||||
delete!(responsedict, :tasting_notes)
|
||||
delete!(responsedict, :flavors)
|
||||
delete!(responsedict, :aromas)
|
||||
delete!(responsedict, :price)
|
||||
# delete!(responsedict, :price)
|
||||
delete!(responsedict, :occasion)
|
||||
delete!(responsedict, :food_to_be_paired_with_wine)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user