anhsin_chatbot 0.0.1 copy "anhsin_chatbot: ^0.0.1" to clipboard
anhsin_chatbot: ^0.0.1 copied to clipboard

This is a flutter package for convenience calling anhsin chatbot.

Package to integrate Anhsin chatbot with flutter projects seamlessly.

Features #

This package calls Anhsin chatbot to enquiry specific information.

Getting started #

flutter pub add anhsin_chatbot

Usage #

Initiate sdk. Call getId to start session. getChatResponse to chat. endChat to end session.

  final sdk =
      AnhsinChatbotSDK(ChatCredentials(apiId: "123", apiSecret: "xyz"));
  final response = await sdk.getChatId();
  chatId = response.chatId;
  final response = await sdk.getChatResponse(chatId, "Explain earth.");
  await sdk.endChat(chatId);

Additional information #

Find out more by contacting Anhsin Technology Sdn. Bhd. at admin@anhsin.io

0
likes
120
pub points
0%
popularity

Publisher

unverified uploader

This is a flutter package for convenience calling anhsin chatbot.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter, http

More

Packages that depend on anhsin_chatbot