Skip to content

akashjain04/MyChatBot

Repository files navigation

MyChatBot

MyChatBot is an android chatbot application using Dialogflow agent.

A chatbot is a piece of software that conducts a conversation via auditory or textual methods. Our chatbot application will be able to conduct simple conversation with the user. We are using Dialogflow to create an AI agent which can respond to the user in the application.

Dialogflow is a Google-owned developer of human – computer interaction technologies based on natural language conversations. We can create AI agents to which can respond to user for the queries of user. Using Dialogflow we can add some contexts to make the agent reply with the information provided by developers. We can also have some extra Intents in Dialogflow to do the same.

By using the Dialogflow API we can access the Dialogflow agent through our android application and get the responses. This application also has speech to text support in the chatbot. Using this speech to text conversion user can have conversations with the chatbot using speech.

We have following activities in our application.

  • Registration Activity
  • Login Activity
  • Chatting Acitivty (Main Activity)
  • Feedback Activity
  • About Activity

Execution

  • We need to create a dialogflow agent and then connect it to our chatbot application by using the key. Replace key in MainActivity.java with your agent key to interact with your own agent.
  • The Login and Registration process is by connecting to firebase.
  • The feedback is stored in firebase realtime database.

Output Screenshots

Welcome Screen Registration Page Login Page
Chatbot layout feedback Page Options menu