Skip to content

Varada-D/Flutter-Dialogflow-Bot

Repository files navigation

Diabot: The Flutter Dialogflow Bot

About the Project

  • The Flutter Dialogflow Agent, "DiaBot" is a cross-platform chatbot made using Flutter and Dialogflow.
  • The application has been developed for the partial fulfillment of the requirements of Semester VII, B. Tech. Computer Science and Engineering. (Subject: Mobile Application Development, Subject Code: BTCS702).
  • Although this repository contains the code to run the entire application, the main codes that add the chatbot functionality to the application (including layout) lie in the "lib" folder of this repository.

Running the Project

To run the project on your machine, please make sure to follow the steps given below:-

  1. Ensure that Flutter is installed and running on your system.
  2. Set up an IDE like Visual Studio Code or Android Studio if required for code editing purposes.
  3. Set up a DialogFlow Agent and add any intents according to your codebase.
  4. Follow the steps in the following link to set up your Google Cloud Project and get the required credentials/ authentication details for the app. These credentials must be written to the assets/dialog_flow_auth.json file to enable the application to utilize your Dialogflow agent.
  5. Extract the code in your system.
  6. Open the terminal to navigate to the home directory of the code.
  7. Run the following command in the terminal:

    flutter run

  8. If prompted, select the target device (on which you want to run the app for preview).
  9. The application will take a while to boot. You can now use the application!