update
This commit is contained in:
9
test/etc.jl
Normal file
9
test/etc.jl
Normal file
@@ -0,0 +1,9 @@
|
||||
using GeneralUtils
|
||||
|
||||
response = "trajectory_evaluation:\nThe trajectory is correct so far. The thought accurately reflects the user's question, and the action taken is a valid attempt to retrieve data from the database that matches the specified criteria.\n\nanswer_evaluation:\nThe observation provides information about two red wines from Bordeaux rive droite in France, which partially answers the question. However, it does not provide a complete answer as it only lists the wine names and characteristics, but does not explicitly state whether there are any other wines that match the criteria.\n\naccepted_as_answer: No\n\nscore: 6\nThe trajectory is mostly correct, but the observation does not fully address the question.\n\nsuggestion: Consider adding more filters or parameters to the database query to retrieve a complete list of wines that match the specified criteria."
|
||||
|
||||
responsedict = GeneralUtils.textToDict(response,
|
||||
["trajectory_evaluation", "answer_evaluation", "accepted_as_answer", "score", "suggestion"],
|
||||
rightmarker=":", symbolkey=true)
|
||||
|
||||
|
||||
@@ -88,9 +88,9 @@ end
|
||||
main()
|
||||
|
||||
"""
|
||||
I'm having a graduation party this evening. I have unlimited budget. I want a bottle of dry red wine.
|
||||
It will be a casual party with no food serving.
|
||||
I'm open to suggestion since I have no specific idea about wine other than I like full bodied wine from France.
|
||||
I'm joining a graduation party this evening. I have unlimited budget. I want a bottle of dry red wine.
|
||||
Well, it is a small casual party with close friend and no food serving.
|
||||
I'm open to suggestion since I have no specific idea about wine but I like full bodied wine from France.
|
||||
The latter one seems nice.
|
||||
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user