update
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
using Revise # remove when this package is completed
|
||||
using YiemAgent, GeneralUtils, JSON3, MQTTClient, Dates, UUIDs, LibPQ, DataStructures, SQLLLM
|
||||
using YiemAgent, GeneralUtils, JSON3, MQTTClient, Dates, UUIDs, LibPQ
|
||||
using Base.Threads
|
||||
|
||||
# ---------------------------------------------- 100 --------------------------------------------- #
|
||||
@@ -68,19 +68,26 @@ function main()
|
||||
response = YiemAgent.conversation(a, Dict(:text=> userinput))
|
||||
println("")
|
||||
println("--> assistant response: \n", response)
|
||||
println("")
|
||||
println("--> user input:")
|
||||
userinput = readline()
|
||||
userinput = ""
|
||||
for i in 1:3
|
||||
if userinput == ""
|
||||
println("")
|
||||
println("--> user input:")
|
||||
userinput = readline()
|
||||
else
|
||||
break
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
main()
|
||||
|
||||
"""
|
||||
I'm joining a graduation party this evening. I want a bottle of full bodied, dry white wine from the United States. I'm ok with all price range.
|
||||
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.
|
||||
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 ok with any region.
|
||||
"""
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user