jovo_flutter_client 0.0.2 copy "jovo_flutter_client: ^0.0.2" to clipboard
jovo_flutter_client: ^0.0.2 copied to clipboard

A Dart Jovo Client for Jovo's Web platform.

A Dart Jovo client for Jovo's Web platform.

Features #

  • Preset Launch and Text requests.
  • Http service to send and receive petitons with a Jovo WebHook.

Usage #

//Configure JovoService with WebHook url.
JovoService service = JovoService(
        webHook: "your-jovo-webhook");

//Send http Launch request to start a session with a Jovo server.
JovoRequest launchRequest = JovoRequest.launchRequest();
JovoRequest launchResponse = await service.sendRequest(launchRequest);

//Get the text response from the server.
print(launchResponse.output[0].message);


//Respond with a text request. Launch request and respnse as parameters to keep the session.
JovoRequest textRequest = await JovoRequest.textRequest(
        inputText, launchRequest, launchResponse);



Additional information #

The package is in early aplha state. It does not yet fully implement all of Jovo's features.

0
likes
100
points
24
downloads

Publisher

unverified uploader

Weekly Downloads

A Dart Jovo Client for Jovo's Web platform.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, http, uuid

More

Packages that depend on jovo_flutter_client