This commit is contained in:
narawat lamaiin
2024-08-21 17:06:09 +07:00
parent 4840480633
commit 4dabb03d93
3 changed files with 480 additions and 491 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -307,6 +307,9 @@ function checkinventory(a::T1, input::T2
) )
) )
println("checkinventory result ", @__FILE__, " ", @__LINE__)
println(result)
return (result=result, success=true, errormsg=nothing) return (result=result, success=true, errormsg=nothing)
end end
@@ -355,7 +358,7 @@ function extractWineAttributes_1(a::T1, input::T2)::String where {T1<:agent, T2<
- occasion: ... - occasion: ...
- food_to_be_paired_with_wine: food that the user will be served with the wine - 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 - 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. Can be "Austria", "Australia", "France", "Germany", "Italy", "Portugal", "Spain", "UnitedStates" - country: a country where the wine is produced. Can be "Austria", "Australia", "France", "Germany", "Italy", "Portugal", "Spain", "United States"
- grape_variety: the name of the primary grape used to make the wine - 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 - flavors: names of items that the wine tastes like, such as citrus, lime, etc
- aromas: the wine's aromas, such as fruity, floral, etc - aromas: the wine's aromas, such as fruity, floral, etc

View File

@@ -84,7 +84,7 @@ end
main() main()
""" """
I'm joining a graduation party this evening. I want a bottle of full bodied, dry white wine from the US. I'm ok with any price range. I'm joining a graduation party this evening. I want a bottle of dry white wine from the US. I'm ok with any price range.
Well, the party is small casual with close friends and no food serving. Well, the party is small casual with close friends and no food serving.
I'm open to suggestion since I have no specific idea about wine. I'm open to suggestion since I have no specific idea about wine.
I'm ok with any region. I'm ok with any region.