diff --git a/src/interface.jl b/src/interface.jl index 6c9ec50..0008c64 100755 --- a/src/interface.jl +++ b/src/interface.jl @@ -366,7 +366,9 @@ function conversation(a::T, usermsg::String) where {T<:agent} respond = replace(respond, "\n<|im_end|>" => "") _ = addNewMessage(a, "assistant", respond) elseif userintend == "wine" #WORKING + + error("wine done") elseif userintend == "thought" else @@ -564,7 +566,7 @@ function identifyUserIntention(a::T, usermsg::String) where {T<:agent} <|im_start|>system You are a helpful assistant. Your job is to determine intention of the question. If the user question is about general conversation say, "{chat}". - If the user question is related to wine say, "{wine}". + If the user question is about getting wine say, "{wine}". If the user question is related to your earlier thought say, "{thought}". Your earlier thought: