All Projects → arun-gupta → chatbot

arun-gupta / chatbot

Licence: Apache-2.0 license
Build Your First Chatbot

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to chatbot

Smart Zoneminder
Fast object detection, face recognition and S3 upload of ZoneMinder alarms.
Stars: ✭ 138 (+452%)
Mutual labels:  alexa
Esp Va Sdk
Espressif's Voice Assistant SDK: Alexa, Google Voice Assistant, Google DialogFlow
Stars: ✭ 174 (+596%)
Mutual labels:  alexa
Brad Homeassistant Config
Home Assistant configuration
Stars: ✭ 212 (+748%)
Mutual labels:  alexa
Ha4iot
Open Source Home Automation system for .NET
Stars: ✭ 146 (+484%)
Mutual labels:  alexa
Alexaskillskit
Swift library to develop custom Alexa Skills
Stars: ✭ 160 (+540%)
Mutual labels:  alexa
Home Assistant
Home-Assistant-Config
Stars: ✭ 182 (+628%)
Mutual labels:  alexa
Home Assistant Config
My Home Assistant Configuration 🏡🏡
Stars: ✭ 133 (+432%)
Mutual labels:  alexa
Wukong Robot
🤖 wukong-robot 是一个简单、灵活、优雅的中文语音对话机器人/智能音箱项目,还可能是首个支持脑机交互的开源智能音箱项目。
Stars: ✭ 3,110 (+12340%)
Mutual labels:  alexa
Chatskills
Run and debug Alexa skills on the command-line. Create bots. Run them in Slack. Run them anywhere!
Stars: ✭ 171 (+584%)
Mutual labels:  alexa
Homeassistant Config
Stars: ✭ 211 (+744%)
Mutual labels:  alexa
Alexa Rubykit
Amazon Echo Alexa's App Kit Ruby Implementation
Stars: ✭ 155 (+520%)
Mutual labels:  alexa
Jaicf Kotlin
Kotlin framework for conversational voice assistants and chatbots development
Stars: ✭ 160 (+540%)
Mutual labels:  alexa
Yoda.js
Application Framework that powered YodaOS
Stars: ✭ 183 (+632%)
Mutual labels:  alexa
Awesome Voice Apps
🕶 A curated list of awesome voice projects, tools, and resources for Amazon Alexa, Google Assistant, and more.
Stars: ✭ 138 (+452%)
Mutual labels:  alexa
Go Alexa
A collection of Amazon Echo / Alexa tools for Go development.
Stars: ✭ 245 (+880%)
Mutual labels:  alexa
Claudia Bot Builder
Create chat bots for Facebook Messenger, Slack, Amazon Alexa, Skype, Telegram, Viber, Line, GroupMe, Kik and Twilio and deploy to AWS Lambda in minutes
Stars: ✭ 1,717 (+6768%)
Mutual labels:  alexa
Tock
Tock - the open source conversational AI toolkit
Stars: ✭ 175 (+600%)
Mutual labels:  alexa
amazon-alexa-skill-library
DEPRECATED PHP Library for Amazon Alexa Skills
Stars: ✭ 13 (-48%)
Mutual labels:  alexa
Awesome Bots
The most awesome list about bots ⭐️🤖
Stars: ✭ 2,864 (+11356%)
Mutual labels:  alexa
Bst
🔧 Bespoken Tools - Tools for making voice apps faster and better
Stars: ✭ 193 (+672%)
Mutual labels:  alexa

Build Your Own Chatbot using Java

This repository explains how to create a Star Wars chatbot using Amazon Lex and Java.

logo

The users can interact with this chatbot using the following means:

  1. Voice (Alexa, Phone/Call)

  2. Text (Phone/SMS, Facebook Messenger, Slack)

Here are the key components of architecture:

architecture

Deploy Lex bot and Alexa backend function using Java

You need to install org.sample.aws.lex:lex-java:0.2 dependency as explained at https://github.com/arun-gupta/lex-java#install-jar-locally before building this project.

mvn -f starwars-chatbot/pom.xml clean package install

ARN for Alexa function: aws lambda get-function --function-name StarWarsChatbot --region us-east-1 | jq .Configuration.FunctionArn

Note
Getting Started with Alexa skill using Java is explained at https://github.com/arun-gupta/alexa-skill-java.

JSON Document

Data is loaded as JSON documents in DynamoDB. Here is a sample JSON document:

{
  "dead": true,
  "force-sensitive": true,
  "force-side": "light",
  "id": 1,
  "lightsaber": "green",
  "planet": "Dagobah",
  "quotes": [
    "When nine hundred years old you reach, look as good you will not.",
    "Truly wonderful, the mind of a child is",
    "A Jedi uses the Force for knowledge and defense, never for attack",
    "That is why you fail.",
    "Adventure. Excitement. A Jedi craves not these things.",
    "Judge me by my size, do you?",
    "Fear is the path to the dark side",
    "Wars not make one great",
    "Do, or do not. There is no try",
    "Size matters not",
    "The dark side clouds everything",
    "Impossible to see the future is",
    "Clear your mind must be",
    "Much to learn you still have ... my old padawan"
  ],
  "weapon": "lightsaber",
  "whoami": "Yoda"
}

Create Global Secondary Index on whoami

Different platforms

Twilio/SMS

  1. Send a message to 408-913-9827 as shown below:

sms

Alexa

  1. Test using http://echosim.io or Alexa

Web

TODO

Mobile

TODO

Logging using Amazon CloudWatch

Monitoring using AWS X-Ray

TODO

How to talk to the chatbot?

Use phrase Ask Star Wars for Alexa, otherwise just the text as is. The list of questions is at https://github.com/arun-gupta/chatbot/wiki/Typical-Questions.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].