KB agents
# 🤝help
i
I created a bot that contains 2 KBs, each one is separate with 2 separate questions to search on each database. I used condition (!turn.KnowledgeAgent.responded). It works on one card correctly, although it doesn't work on the other one!! The same settings are applied! what can I do?
b
what do your logs say?
i
debug KnowledgeAgent hook Skipping KB: turn message has no question Skipping KB: turn message has no question {"scope":"agent-hook","agentId":"KnowledgeAgent","hookName":"conversation_turn_started"}
b
and what message did you send?
as the logs suggest, it seems like your bot wasn't able to interpret the message as a question
any help?
b
you didn't answer my question - what message was sent such that the bot wasn't able to find a question?
i
an email address
There is a KB called signed in users, the search is enabled in it only.
if the email is found, the bot should return a correct user name.
b
for programmatic searches like this, I wouldn't use a KB query, which is LLM-based
you should instead use a Table, and see if the Table contains the specific email, or string
because LLM searches are semantic - it expects a question and a response, not a query against a list

https://www.youtube.com/watch?v=XdkXkb9Az28

I actually demonstrate this here
i
It worked! Thanks a million, Robert! Your help and demonstrations are always helpful.
b
\o/
3 Views