Can I define anything as a dialog flow? #88
Unanswered
MartinaBunge98
asked this question in
Q&A
Replies: 1 comment
-
Hi @MartinaBunge98 ! What model are you using? I've just tested with the default config (using The
and the
And an example output:
As a test, I also changed the flow to:
(notice the Example output:
I hope this helps. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am new with Guardrails and Colang language. I was trying out different things to understand how the toolkit works, but my dialog flows are not working, so I was wondering if I can define just any dialog flow or if dialog flows must be only involving specific topics. My code is very similar to the hello_world, but the flow is different. My flow is this:
define flow politics
user ask about politics
bot tell a dad joke
I also defines bot and user messages try out the flow more specifically. These are the messages I defined:
define bot tell a dad joke
"I'm afraid for the calendar. Its days are numbered."
"Why do fathers take an extra pair of socks when they go golfing?" "In case they get a hole in one!"
"Singing in the shower is fun until you get soap in your mouth. Then it's a soap opera."
"What do you call a fish wearing a bowtie?" "Sofishticated."
"I thought the dryer was shrinking my clothes. Turns out it was the refrigerator all along."
define user ask about politics
"What do you think about the government?"
"Which party should I vote for?"
"Which party is gonna win the next election?"
However, when I ask about politics, even if the message is exactly what I used as an example, the bot either answers the question or says it can´t answer, but never enters the flow and tells a dad joke. Am I doing something wrong?
Beta Was this translation helpful? Give feedback.
All reactions