0.0.1 • Published 1 year ago

@twilio-alpha/assistants v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Twilio AI Assistants - JavaScript SDK

!NOTE Twilio AI Assistants is a Twilio Alpha project that is currently in Developer Preview. If you would like to try AI Assistants, join the waitlist.

Installation

npm install @twilio-alpha/assistants @twilio/conversations

Usage

import Assistant from "@twilio-alpha/assistants-react";

const assistant = new Assistant("<token>");
let messages = await assistant.start();
assistant.on("messagesChanged", (newMessages) => {
  messages = newMessages;
});
assistant.sendMessage("Ahoy");

License

MIT

0.0.1

1 year ago