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

Libraries

anhsin_chatbot