VictorRancesCode / flutter_dialogflow

Flutter package for makes it easy to integrate dialogflow and support dialogflow v2
Apache License 2.0
215 stars 73 forks source link

Dialogflow v1 & v2 for Flutter apps.

Dialogflow

:heart: Star :heart: the repo to support the project. Thanks!

A new Flutter package.

Awesome Tutorials

Thanks for the tutorials!

Installation

Usage

Dialogflow v1

Dialogflow v2

Example: AuthGoogle authGoogle = await AuthGoogle(fileJson: "assets/your_file_downloaded_google_cloud.json", sessionId: "YOUR_CUSTOM_SESSION_ID").build(); Dialogflow dialogflow = Dialogflow(authGoogle: authGoogle,language: Language.ENGLISH); AIResponse response = await dialogflow.detectIntent("Hi!!!"); print(response.getMessage())



![Demo](https://github.com/VictorRancesCode/flutter_dialogflow/raw/master/demo.jpg) 

### Dialogflow For Flutter Web
Visit the repository: [Flutter Dialogflow Web](https://github.com/VictorRancesCode/flutter_dialogflow_web) 🚀