https://discord.gg/botpress logo
use knowledge base to analyse user input
# 🤝help
c
I want to use a knowledge base to analyse the input of a user. The input of a user comes from a standard node. The analysis is being defined in the instruction of an autonomous node. Right now I tried referring to the KB in the autonomous node: "use the documents in the knowledge base to analyse the input". And I tried adding the search knowledge base card, but that is only used when the user has questions, not to perform the analysis with...
p
What kind of information is needed from the knowledge base for the analysis of the user's input?
c
Ill give some more details. 🙂 The chatbot is designed (among other things) to translate user input into 29 behavioral characteristics. The input consists of a detailed description of an observation, a conversation, or a document the user has read. The method by which this input is mapped to the behavioral characteristics is explicitly described in the documents available in the knowledge base.
p
Thank you for the additional information. Since you knowledge base information is essentially instructions, I would suggest using an AI task and inputting these steps/procedures into it to see if it succeeds at your task.
g
What you could also try is an AI Transition, where you define the 29 behavioural characteristics as the categories for the transition to match the user input to, then you can have actions/messages etc based on specific behavioural characteristics. Unless the idea is to select multiple characteristics based on a given input? Then an AI task would be a good option.
c
Multiple
Thanks Leanna and Ricky, Ill give that a try!
I think the AI task is too limited, since it looks like you cant connect it to a knowledge base.... It might look like this might do the trick... https://cdn.discordapp.com/attachments/1384527093433368648/1384845402922029137/image.png?ex=6853e949&is=685297c9&hm=0f937bd6521412cc5f0d247083fd6bf7fc00c6d01fdc9047f0a58a9788f3e6c3&
Hmm, yes this seems to be the right thing but I cant get it to work.... Ill ask a new question.
3 Views