can’t integrate ai task with kb
# 🤝help
m
When I try to ask it something it just doesn’t repsonse. Ai task is running but it still won’t respond

https://cdn.discordapp.com/attachments/1147208087325913218/1147208087984414730/D60695FC-A31F-49A5-8975-83ADE98F3D0B.jpg

https://cdn.discordapp.com/attachments/1147208087325913218/1147208089779572787/C8A48D5E-50B0-4767-AC20-5B3B47F1BF9D.jpg

https://cdn.discordapp.com/attachments/1147208087325913218/1147208091516022924/8B396EBA-BFCE-44C9-A4CD-0582914DEF9B.jpg

c

https://cdn.discordapp.com/attachments/1147208087325913218/1147208677124743218/report_issue.gif

Please add your report iD
m
d2aea05b-0ab5-4f25-b29e-974bdd4eeb1d
a
Hey @mysterious-cricket-72777, it looks like you're doing a knowledge base search manually using an AI task. You can accomplish this more easily by enabling knowledge on that node like this

https://cdn.discordapp.com/attachments/1147208087325913218/1147222605967937556/image.png

https://cdn.discordapp.com/attachments/1147208087325913218/1147222659747291157/image.png

Additionally, you can't run code ad-hoc in the AI task input. Something like this would need to go in an execute code card, saved to a variable, and then that variable passed to the AI task input

https://cdn.discordapp.com/attachments/1147208087325913218/1147222865989611590/image.png

m
I was thinking I can kinda bend the answer a bit but maybe off track lol
Ight I’ll test that one thanks
a
If you want to influence the knowledge agent's answers, you can modify the context passed to it to include bits from your prompt

https://cdn.discordapp.com/attachments/1147208087325913218/1147226599842926602/image.png

This is the in the knowledge agent's settings- click here

https://cdn.discordapp.com/attachments/1147208087325913218/1147226673838825522/image.png

m
alright do i then type in my prompt under transcripts?
a
Whatever you want. You can start with what you had in your original AI task prompt and then go from there, iterating and tweaking as needed
m
Alright so if I wanted to skip ai task and still keep the answers shorter how would I do that
a
what do you mean "skip the ai task?" Doing it this way does not involve an AI task at all. You replace the node that has your AI task with this node

https://cdn.discordapp.com/attachments/1147208087325913218/1147230871506665563/image.png

m
Yeah but I want to keep the answer shorter cause it’s a prospecting chatbot and I don’t think people will read it if it’s too long
a
Try adding in this box stuff like "Give a short answer"

https://cdn.discordapp.com/attachments/1147208087325913218/1147231247484076062/image.png

m
Ight thanks mate
a
otherwise you can do something like this:

https://cdn.discordapp.com/attachments/1147208087325913218/1147231847688966315/image.png

https://cdn.discordapp.com/attachments/1147208087325913218/1147231847940620379/image.png

https://cdn.discordapp.com/attachments/1147208087325913218/1147231848192282624/image.png

m
Okay I’ll try that
2 Views