Issue with Truncated Responses in Botpress Knowled...
# 🤝help
l
I am experiencing an issue with the knowledge base responses in Botpress where the answers are getting truncated. You can see in the image that it finish with "Si ti" that i think it meant "Si tienes algunda duda" that in english means "If you have any doubt". This is impacting the effectiveness of the bot's responses. Could you please provide insight into why this is happening and how it can be resolved?
Here it is another example. In this one the language is catala
f
I would say replace the AI Task with AI Generate text card
Give it a try and tell me if it suits you or not 🙂
l
Do you mean an AI TASK card?
I only have a node that has the knowledge base activated
f
Got it, then the KB content + the answer are two big for the model we are using now.
Consider enhancing the prompt to use less infomration in the answer
l
What to do you mean with enhancing the prompt?
f
In the KB Agent, there is this field:
You can add some prompting to influence the AI to generate smaller answers
l
Ok I'll try. Thank you
f
You're welcome 🙂
Keep us posted whether it worked for you or not 🙂
l
Hello @famous-jewelry-85388 it is still working wrong
Look how it truncates in the number two number list
f
h
Hello, I'm xperiencing an issue with the BotPress knowledge base(PDF File) responses in Botpress where the answers are getting truncated. If i have 10 sentences which is in the PDF file and wanted to extract, It will fetch only 5 to 6 sentences and rest it is truncating.
Here is my screenshot where my Raw input node is reading from the PDF file directly
3 Views