https://discord.gg/botpress logo
AI Task using a KB table
# 🤝help
s
Hello, I am trying something simple.. I uploaded data to a table that is added in the KB. An AI Task part of a standard node want to read that table and extract entries filtered based on a user input. The AI task instructions are “read the XX table and return entries for which “param=user input”. The AI Task keeps returning empty. For AI Input I tried referencing the table with kb.table[“tablename”] and other descriptions. It’s like the AI Task can’t access that table.. Help will be appreciated! #1116045108614287380 #developers Thanks
p
Indeed you're going to have to do it in two steps, first the table lookup and then your ai task using the variable in which you found whatever you were looking for in the table. Hope this helps!