AI Task question
# 🤝help
c
I have a little problem. When I want to ask my bot it sends me a message every single time in front. I am asking something it gives me the response and then it restarts? anybody knows why?
@rich-battery-69172
@flat-plumber-75402
@bright-magazine-792
@acceptable-gold-88171
@colossal-egg-20510
@some-baker-90541
@early-train-33247
@acceptable-kangaroo-64719

https://cdn.discordapp.com/attachments/1135558242081198153/1135559351810142400/image.png

https://cdn.discordapp.com/attachments/1135558242081198153/1135559431459979346/image.png

a
Hey @curved-breakfast-71169 is "answer on start node" enabled on your knowledge agent?

https://cdn.discordapp.com/attachments/1135558242081198153/1135559753939025990/image.png

c
Yes it is.
I want to make the bot ask do you wanna know more as it is doing and then if i ask something to not get it from the start

https://cdn.discordapp.com/attachments/1135558242081198153/1135560160581005443/image.png

a
You might want to explore using manual answering, then. This will stop the bot from automatically answering user questions so that you have to pass `{{turn.KnowledgeAgent.answer}} in a text card in order to send the answer to the user.
You can add transitions using that same variable, too, to go to certain nodes if there is a knowledge answer or not.
c
Is there any way we can hop on a call?
a
let's stick to text & screenshots. What's giving you problems?
c
ok so I am going to explain a little bit better. I have created a dental bot and i want to make it answer any question the user wants so i added an AI task and put a KB with the website. Right now its answering according to the info correctly but when I want to ask the second questions I get the starting message again.
@acceptable-kangaroo-64719
a
ok what does your whole main flow look like?
c

https://cdn.discordapp.com/attachments/1135558242081198153/1135564623047819314/image.png

in the left is the start
a
You can try putting a transition in the "introduction" node of
{{turn.KnowledgeAgent.answer}}
that goes to your AI task. This way, if there is a knowldge answer, the greeting will be skipped and you'll go straight to the AI task node.
c
I add a expression and put {{turn.KnowledgeAgent.answer}} in it and then?
And if there is no knowledge do I use stackAI to do make a generate a response?
a
and then connect that to the "AITask" node.
c
as you see
i have connected to that node
another thing
Info on our Dental Clinic
a
right, this would be a brand new transition
separate from the one you have now
c
can i add another one?
like
aitask can i make it take another transition
because i want to keep the multiple Choice
@acceptable-kangaroo-64719
a
yeah, can do like this

https://cdn.discordapp.com/attachments/1135558242081198153/1135568527726743602/image.png

and if there's no answer, the transition is skipped and the rest of the node executes
c
do i have to make a variable right?
a
nope,
turn.KnowledgeAgent.answer
is made automatically by the knowledge agent
c

https://cdn.discordapp.com/attachments/1135558242081198153/1135570216701669417/image.png

why is there insert dentist's name?
is it not avaiable in the kb?
The website I added has the info but you have to search it and press on a site that sends you to another link
a
We get knowledge from the website via serch engines like Bing and Google, so if the Dentist's name isn't obvious on the main website the search engines might not catch it
c

https://cdn.discordapp.com/attachments/1135558242081198153/1135571592458534912/image.png

right now any greeting i am doing
its going right to the bot
no entry message
@acceptable-kangaroo-64719
a
Do you have any greetings or smalltalk in your knowledge base?
c

https://cdn.discordapp.com/attachments/1135558242081198153/1135572738795388998/image.png

this is all
I also want to include this Multiple choice so if he wants to book a dental appointment to send him right back at the dental appointment task

https://cdn.discordapp.com/attachments/1135558242081198153/1135573126005141514/image.png

but if i add this in here
the ai stops respoding
@acceptable-kangaroo-64719
b
Hi @curved-breakfast-71169 I'll be helping with your next questions.
c
read the last things
i said
and gordy didnt respond
b
Yes we're simultaneously answering every other question here in this community. So you can expect a delay in the response. Let me take over the conversation for now.
c
right now any greeting i am doing its going right to the bot no entry message

https://cdn.discordapp.com/attachments/1135558242081198153/1135574410850484264/image.png

https://cdn.discordapp.com/attachments/1135558242081198153/1135574411165061230/image.png

b
add me to your workspace as
Developer
email:
rohan.kokkula@botpress.com
You can rename your workspace so I can identify it faster and let me know your bot's name
You can find adding collaborators in https://app.botpress.cloud/workspaces/ settings page
c

https://cdn.discordapp.com/attachments/1135558242081198153/1135575407916228698/image.png

@bright-magazine-792
done
now what?
@bright-magazine-792
@bright-magazine-792
b
yes let me check!
c
Do you understand my problem?? @bright-magazine-792
e
Hey @curved-breakfast-71169, please wait for a while until we check what's going on!
c
I understand the situation i am just askking if he understood my problem.
@bright-magazine-792
b
what do you want your bot to do?
c
I want him to book appointments and that i have done ! But i want it to also answer questions about the dental clinic and provide information. Also i want to make the bot not double book or overbook dental appointments.
b
did you connect the node?
c
what?
b
let's take your questions one by one. 1. You want the bot to answer about dental information at the start. right?
c
I want to make the user choose if he wants to make an appointment or if he wants dental information
about the clinic
or in general
b
so this is correct

https://cdn.discordapp.com/attachments/1135558242081198153/1135586843304407101/Screenshot_2023-07-31_at_8.26.28_PM.png

https://cdn.discordapp.com/attachments/1135558242081198153/1135587031804825651/image.png

c
yeah
this is fine
i want him to answer more questions
in a row and not going back to the start and sending the same message everytime
and then i want to add the multiple choice
and connect the i want to book a meeting to the zapier node
@bright-magazine-792
2 Views