Hello,
I'm trying to get my chatbot to reply without using a lot of text, with quick, concise replies that really only take up the user's request. How can I do this?
w
wide-oyster-38514
03/24/2024, 11:07 AM
Hey @quick-agency-16863, I would recommend a couple of options.
You can use an AI task/generate card to shorten the answer by giving it a specific prompt.
You can also add an instruction to your Knowledge Agent, for example: 'please keep the answers concise and 1 sentence long'.
Using the AI cards tends to be a more reliable option as you can giving a specific prompt and instructions.
q
quick-agency-16863
03/25/2024, 5:22 PM
@wide-oyster-38514 thank you. But it doesn't work because when I put an IA task after my raw input card, it doesn't look in the knowledge base I want for the answer to the question.
w
wide-oyster-38514
03/25/2024, 5:26 PM
Hey! To use an AI card with the raw input card, you need to store the raw input answer in a variable and then reference it in the AI task. So then you can give your AI card a prompt to shorten the answer for the {{workflow.variableName}}.
q
quick-agency-16863
03/25/2024, 5:48 PM
I'm in. I would simply like to retrieve the answer to the user's question that was generated by the AI following the raw input. Store it and then have it reworked by the AI task to reduce it, etc.
quick-agency-16863
03/25/2024, 5:48 PM
@wide-oyster-38514 I'm in. I would simply like to retrieve the answer to the user's question that was generated by the AI following the raw input. Store it and then have it reworked by the AI task to reduce it, etc.