Flutter_AIML

A plugin for using aiml on flutter on Android.

Installation

add this to your pubspec.yaml file

flutter_aiml: ^0.0.2

Adding AIML files

add the aiml files to

Android

  • app
    • src
      • main
        • assets
          • AIML

refer example for more.

Min Sdk

update app level buil.gradle

minSdkVersion 22

Usage

FlutterAiml aiml = FlutterAiml() ;

aiml.invokeSetup(); //to setup the aiml files for the aiml bot

var response = await aiml.getResponse(message: 'HI');

for more refer the example .