This commit is contained in:
narawat lamaiin
2024-08-20 20:19:06 +07:00
parent 2b1e280a31
commit a5dc2c1122
3 changed files with 174 additions and 28 deletions

View File

@@ -355,7 +355,7 @@ function extractWineAttributes_1(a::T1, input::T2)::String where {T1<:agent, T2<
- 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
- country: a country where the wine is produced
- country: a country where the wine is produced. Can be "Austria", "Australia", "France", "Germany", "Italy", "Portugal", "Spain", "UnitedStates"
- grape_variety: the name of the primary grape used to make the wine
- flavors: names of items that the wine tastes like, such as citrus, lime, etc
- aromas: the wine's aromas, such as fruity, floral, etc
@@ -456,6 +456,7 @@ function extractWineAttributes_1(a::T1, input::T2)::String where {T1<:agent, T2<
end
responsedict[:flavors] = replace(responsedict[:flavors], "notes"=>"")
delete!(responsedict, :region)
delete!(responsedict, :reasoning)
delete!(responsedict, :tasting_notes)
delete!(responsedict, :flavors)