I want to create a Chatbot like ChatGPT

Used for campus guide.
Eg someone ask a question "I want to know how to choose courses".
If my database have this keyword "courses".
The Chatbot will reply to the answer I set.
And I want to use Google Sheet as my database because it's easy to manage and update.

The following is my current progress, still stuck in filtering keywords :


Try the example at Problem facing in making chatbot - #12 by ABG for part of your app and

for the spreadsheet part.

Also consider the MIT Chatbot component ChatBot or [F/OS] 🧠 Artificial Intelligence and OpenAI!


Thank you!
But my problem now is that the bot can't get the keywords in the sentence.
If you have an answer on this question thanks again!