🆕Use Tables to store your KBAI questions
You'd like to pull a list of what are your customers questions managed by your KBAI? You can set that up with our in-house Tables.
Last updated
You'd like to pull a list of what are your customers questions managed by your KBAI? You can set that up with our in-house Tables.
Last updated
To store your KBAI questions and answers with Tables:
Create a KBAI flow inside your bot or use the KBAI template bot.
Make sure to add content to your KBAI.
Save.
Go back to your Flows.
Open the block where the KBAI search happens. In our case, it will be the Not understood block.
Add a Go to after this block that you'll call Populate table.
Save this block.
Open the Populate table block.
Add a Table operations step.
Select Insert record to the QuestionCollection table.
Configure the operation so that:
{internal.nlp.expression}
is added to the questionAsked column
{knowledgebase.answer}
is added to the answerGiven column
You could also add a time stamp:
Save your changes.
Now you should be able to see a list of your questions and answers from your Tables!
It can be useful for you to store the places where your KBAI didn't answer to what the user said.
To collect variables where your KBAI was unsatisfactory:
Find the blocks where your KBAI goes when either an error occured or no result was found.
In each of them, pass on a variable that you'll call failure_reason, and give it the value error occured or no result.
Make sure you have a column in your Table to store those.
When you populate your table, add those to the Table.