Creating Chatbot using multiple source like database and text file or pdf file

Hi! i want to know can we create chatbot using data from multiple source?
I already found code that can answer my question based on txt etc
source:
https://github.com/techleadhd/chatgpt-retrieval

and now i want to make the code can answer my question base my database (we want to use to get data from database instead from csv file :frowning: )
thanks!

You will need to use function calling. Prepare your own API/function that can retrieve data from your database. Then create function that will convert the user query into the format of the API/function call for your database.

Were you able to figure this out? I have the same use case but it would help to know how you managed it