Bot keeps repeating first message after answering ...
# 🤝help
f
My bot keeps repeating the greetings node after I have a question node instead of going to the next node as you can see in the picture.

https://cdn.discordapp.com/attachments/1136011431167393873/1136011431536500756/Screenshot_2023-08-01_210322.png

https://cdn.discordapp.com/attachments/1136011431167393873/1136011431930777731/Screenshot_2023-08-01_210301.png

b
in the I have a question node, why are you using an expression transition? try using an "always" transition (just set the label to always) and it'll achieve the same effect, since you aren't using any other transitions
also: 1. have you published your bot recently? 2. does this happen in the emulator/studio, or just when you click share?
f
It happens both in the studio and when I share it
When I set it to always, it just skips to more questions node
b
can you show me your AI task? what are you asking it to do?
f

https://cdn.discordapp.com/attachments/1136011431167393873/1136013165990264924/image.png

It is a customer service bot that is answering questions from a knowledge base
b
ah okay, is there a reason you didn't use the "Raw Input" capture card to ask your user for a question?
because the way I would build this is: 1. raw input card, ask user for question 2. "always" transition to ask for additional questions
f
Should I add a raw input card in the same node as the AI task? How do I refer to the question with the A?
to the AI*
b
it should replace your AI task!
there's no need to involve the AI task if all you want to do is query a knowledge base 🙂
f
How would it answer the question?
Oh thank you so much robert!
b
make sure "knowledge answering" is enabled on the node
we use AI on the backend make your bot "read" your knowledge base and spit out an answer
but you don't need to fuss with that
f
Thank you so much for that! I also wanted it to refer products from a website, should I use an api call for that or an AI task?
b
API call!
alternatively, you can use a website as a knowledge base too
or save the product information as a document and use that as a knowledge base
so there are a few methods
f
Ok Thank you very much!
l
it repeats the questions still on "share your bot"
30 Views