This commit is contained in:
narawat lamaiin
2024-07-28 21:17:28 +07:00
parent 71479c5fd0
commit dda2134b01
2 changed files with 14 additions and 11 deletions

View File

@@ -434,10 +434,10 @@ function extractWineAttributes(a::T1, input::T2
Conversion Table: ... Conversion Table: ...
Query: ... Query: ...
You should follow the following guidelines: You must follow the following guidelines:
- If specific information is unavailable, please use "NA" to indicate this. 1) If specific information is not available in the query, use "NA" to indicate this. Also words like "any" or "unlimited" means no information available.
- Use converstion table to convert sweetness, acidity, tannin, intensity describing word into an integer. 2) Use converstion table to convert sweetness, acidity, tannin, intensity describing word into an integer.
- Do not generate other comments. 3) Do not generate other comments.
You should then respond to the user with the following points: You should then respond to the user with the following points:
- wine_type: Can be one of: red, white, sparkling, rose, dessert or fortified - wine_type: Can be one of: red, white, sparkling, rose, dessert or fortified

View File

@@ -84,6 +84,16 @@ end
main() main()
# """
# I'm having a graduation party this evening. So I think a bootle of wine would be nice.
# I have no idea. The party will be formal. What type of wine people usually get for this occasion?
# What about sparkling Rose?
# """
# response = YiemAgent.conversation(a, Dict(:text=> "newtopic",) ) # response = YiemAgent.conversation(a, Dict(:text=> "newtopic",) )
@@ -105,13 +115,6 @@ main()
# """
# I'm having a graduation party this evening. I'll pay at most 30 bucks.
# I have no idea. The party will be formal. What type of wine people usually get for this occasion?
# What about sparkling Rose?
# """