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

I would recommend using dialogflow cx for this, You can use fulfilments  function for customising response of the agent. I would also suggest that you visit this section of the document for datastores feature "Data store agents are a special type of Dialogflow agent that can provide LLM generated agent responses based on your website content and uploaded data."