Chatbot that dynamically selects between database or PDF based on user input

92 Views Asked by At

I have developed two separate chatbots: one that searches data from my database and another that searches from PDF documents. Now, I want to create a unified chatbot that intelligently decides where to search based on the user's input.

Could someone please suggest approaches or algorithms for implementing this decision-making functionality in the chatbot?

As per example:

User Question --> Do some analysis --> (Search from PDF OR Search from DB) --> Provide output.

0

There are 0 best solutions below