Skip to content

A light weight [asynchronous / promise] based Neural Network [Artificial Intelligence]

Notifications You must be signed in to change notification settings

NithishCodez/alexa-bot-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ALEXA-BOT-API

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

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

Whats new in v2.0.0

  • Fixed cleverbot's new API update that lead to package not working
  • Fixed Bugs

Promise Based!

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

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

Specific Language:

getReply(<message>, <language>)

Async / Await

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

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

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

About

A light weight [asynchronous / promise] based Neural Network [Artificial Intelligence]

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published