Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Adding trained responses to chatbot

Hi everyone, I recently started learning gemini and just for some practice I decided to make an online customer service chatbot as a small project. The problem is I'm trying to add a set of responses to add to my bot. For example if i try to do it offline in a python notebook, I can simply put the command: 

reply = model.generate_content(chat_history) where chat_history is a list of responses. For reference I have used this website: https://www.geeksforgeeks.org/build-a-qna-chatbot-using-gemini-pro/ I don't have any experience in javascripting and html so any help is appreciated.
1 REPLY 1