From what I understand of the docs, the Knowledge base document is only used when pattern_search is triggered, and these are usually for answering questions. I was wondering if there was anyway we can use a DB as vector store and then use the values to set slots. Suppose, I say to the conversation agent to transfer money to James, then it can use the DB to find the corresponding account number or something and set the slot.
Suppose, I say to the conversation agent to transfer money to James, then it can use the DB to find the corresponding account number or something and set the slot.
That’s not a good use case for pattern_search. pattern_search is meant for FAQ related questions.
For what you’re describing, you should use a custom action to query your DB with account information and then set the slots with whatever the DB query returns.
That is my current approach, but I just wanted to know if there was any way I can get the LLM to do it for me.