Help with "AI Text" feature
# 🤝help
l
I followed the video about "AI Text" and put the right formula. but when I put in the input, the AI spits out "the user input is a long document..." what am I doing wrong? It answers one of the four choice questions right. My knowledge base is listed in the following format: Q: A: https://cdn.discordapp.com/attachments/1232811662139064331/1232811664441606204/Screenshot_2024-04-24_at_2.52.47_PM.png?ex=662ad0d5&is=66297f55&hm=c631deed5f3c6971c0effd5b397821fa52e8ffdc32e78a33f9699d307c9a4222&
f
Can you show us what you included in the AI task
l
I have this copied and pasted all throughout the main workflow where I have the bot answer the user input based on the knowledge base. I used to receive an answer but 1. I didn't know how to get rid of knowledge base references 2. The answer would stop mid-way of some random sentences and would finish a paragraph in compelte sentences. 3. Sometimes it was too long https://cdn.discordapp.com/attachments/1232811662139064331/1233478849979748362/image.png?ex=662d3e32&is=662becb2&hm=01114c33f0716053a23001bff1b1581e00703b750d90b52fbcbe04c297a669bb&
f
Your AI task instructions are to summarize the user input into 2 sentences, but you are giving it the raw output from the KB. I would advise you to remake your instructions and use {{turn.KnowledgeAgent.answer}} but that is just my opinion.
I would recommend you to skim through these videos

https://youtu.be/vAaCudOUwuc?si=0eJmjNlClnk5Wapu

https://youtu.be/_-cfrdsk8kA?si=-JyIC9bpGYvx43Zu

https://youtu.be/uMq-oqP5U98?si=3AMGoqI8ZDSPdY4A