update
This commit is contained in:
@@ -326,6 +326,20 @@ end
|
||||
function conversation(a::T, usermsg::String) where {T<:agent}
|
||||
userintend = identifyUserIntention(a, usermsg)
|
||||
@show userintend
|
||||
if userintend == "chat" #WORKING
|
||||
|
||||
|
||||
elseif userintend == "wine"
|
||||
|
||||
elseif userintend == "thought"
|
||||
|
||||
else
|
||||
error("undefined condition userintend = $userintend")
|
||||
end
|
||||
|
||||
|
||||
|
||||
|
||||
error("conversation done")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user