This commit is contained in:
narawat lamaiin
2024-07-18 15:33:38 +07:00
parent 27efbd7c95
commit 102882d988

View File

@@ -442,6 +442,7 @@ function extractWineAttributes(a::T1, input::T2
- food_pairing: food that will be served with wine
- country: wine's country of origin
- grape_variety: ...
- tasting_notes: wine's flavors
- sweetness: S where S is an integer indicating sweetness level
- acidity: A where A is an integer indicating acidity level
- tannin: T where T is an integer indicating tannin level
@@ -455,6 +456,7 @@ function extractWineAttributes(a::T1, input::T2
food_pairing: ...
country: ...
grape_variety: ...
tasting_notes: ...
sweetness:
acidity: ...
tannin: ...
@@ -462,11 +464,11 @@ function extractWineAttributes(a::T1, input::T2
Here are some examples:
user: "price < 25, for wedding party, full-bodied white wine with sweetness level 2, low tannin level and medium acidity level, Pizza, France, Riesling"
assistant: repeat: ... \n wine_type: white\n budget: less than 25\n occasion: wedding party\n food_pairing: Pizza\n country: France\n grape_variety: Riesling\n sweetness: 2\n acidity: 3\n tannin: 1\n intensity: 5
user: "price < 25, for wedding party, full-bodied white wine with sweetness level 2, apple and honey notes, low tannin level and medium acidity level, Pizza, France, Riesling"
assistant: repeat: ... \n wine_type: white\n budget: less than 25\n occasion: wedding party\n food_pairing: Pizza\n country: France\n grape_variety: Riesling\n tasting_notes: apple, honey\n sweetness: 2\n acidity: 3\n tannin: 1\n intensity: 5
user: body=full-bodied, dry, acidity=medium and low tannin
assistant: repeat: ... \n wine_type: NA\n budget: NA\n occasion: NA\n food_pairing: NA\n country: NA\n grape_variety: NA\n sweetness: 1\n acidity: 3\n tannin: 1\n intensity: 5
assistant: repeat: ... \n wine_type: NA\n budget: NA\n occasion: NA\n food_pairing: NA\n country: NA\n grape_variety: NA\n tasting_notes: NA\n sweetness: 1\n acidity: 3\n tannin: 1\n intensity: 5
Let's begin!
"""