AI Task
# 🤝help
g
I've been following the video below. When I try and I aks a question it just prints out {{event.kb.results.map((a) => a.dsFriendlyName + "\n" + a.content).join("\n\n")}}

https://www.youtube.com/watch?v=z4dLcUfF8d0

I think it was because I was using V2..
I think V2 has a problem
Or because i was using GPT -3.5
i mean it isn't even answering the user question
even though its in the knowledge base
i see now that it can only respond using the AI task instructions
why not the knowledge base too
in my bot
b
as I mention in this video, the AI task isn't directly connected to your KB
it can manipulate pieces of text, i.e. a KB query, but not the actual KB itself
g
sorry
i didn;'t understand properly how it works thanks for letting me know
so
It can manipulate pieces of text
so do I need to use the KB Query?
How can I fix it?
b
yep - you can use a KB query, then use that snippet of code as the AI Task's input
then have the task manipulate it, for example make it shorter
g
Thank you very much I will try this
b
\o/
g
thank you very much I really appreciate your help 😄
thank you very very much
b
my pleasuyre!
g
much appreciated!
Is there a way to get the AI response to go to a intent if detected? Should I just add that before the Query ?
b
AI transition placed after a query will listen to the input
g
thanks
b
which transition was triggered?
g
Enquiry
b
"How can I make a booking" is indeed an enquiry
g
I see
I guess I should make it I want to send an email?
Or contact the team?
Well it did the same thing
"Contact Team (NOT I want to make a booking)" kind of worked?
Well it still pushes questions to that Node though..
well still doesn't work haha
Let me try maybe add a category like "How do I?"
maybe it'll push these normal questions
to that