You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

alexa-bot-api-v3

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

alexa-bot-api-v3

A very lightweight and simple artificial intelligence with multi language support

3.0.1
unpublished
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

The Unofficial Patch to Alexa-Bot-API
Brought to you by the CWN Team


Enjoying alexa-bot-api?

Consider Donating To Me: https://www.buymeacoffee.com/nithishpravin

Join My Discord Server: https://discord.gg/m2G7YB3ttf

Developers:

  • Nithish Pravin Discord: Nithish#6593
  • Kaz += Sterben; Discord: Kaz += Sterben;#4547

Credits: Pudochu Discord: Pudochu 'D#0001 Involvement: Helped in the previous fix and suggestions about the package

BlobKat#0388: Updated to support contextual AI

Whats new in v3.0.0

  • Fixed cleverbot's new API update that lead to package not working
  • Added Context support
  • Relaunched the long awaited for API

Promise Based!

const alexa = require("alexa-bot-api");
const ai = new alexa();

ai.getReply("Hello").then((reply) => {
  console.log(reply);
  //Do your stuffs with the reply
});

Contextual AI:

getReply(<message>, <context>)
//context: string | array
//string: a specific channel ID for context
//array: an array of previous messages

Async / Await

const alexa = require("alexa-bot-api");
const ai = new alexa();

async function main() {
  const reply = await ai.getReply("How are you mate?");

  console.log(reply);
  //Do your stuffs with reply
}
main();

Keywords

alexa

FAQs

Package last updated on 17 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts