https://github.com/nithishcodez/alexa-bot-api
A light weight [asynchronous / promise] based Neural Network [Artificial Intelligence]
https://github.com/nithishcodez/alexa-bot-api
Last synced: 12 months ago
JSON representation
A light weight [asynchronous / promise] based Neural Network [Artificial Intelligence]
- Host: GitHub
- URL: https://github.com/nithishcodez/alexa-bot-api
- Owner: NithishCodez
- Created: 2021-01-09T14:05:03.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-27T13:26:25.000Z (about 5 years ago)
- Last Synced: 2025-07-09T00:13:31.580Z (12 months ago)
- Language: JavaScript
- Size: 32.2 KB
- Stars: 6
- Watchers: 1
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
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](https://github.com/Major-Thrust)
Discord: Nithish#6593
**Credits:**
[Pudochu](https://discord.gg/cortex/)
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!
```js
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(, )
```
## Async / Await
```js
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();
```