Giter Site home page Giter Site logo

obaw-0x0006-star-wars's Introduction

Star Wars + Recast.AI

This bot is part of the #OBAW Github project - Week 0x0006 - Star Wars

Medium publication project page #OBAW Medium

Medium publication Star Wars page #OBAW Star Wars

Star Wars Bot for Facebook Messenger using Recast.AI

A SWAPI-powered bot using Recast.AI NLP and Bot Connector

Follow the instructions below to create your own instance of the bot:

Step 1: Deploy the Bot

  1. Make sure you are logged in to the Heroku Dashboard

  2. Click the button below to deploy the Messenger bot on Heroku:

    Deploy

  3. Fill in the config variables as described.

    • For BC_USER_SLUG blank for now (filled at step 2)
    • For BC_BOT_ID blank for now (filled at step 2)
    • For BC_USER_TOKEN blank for now (filled at step 2)
    • For RE_BOT_TOKEN blank for now (filled at step 3)

Step 2: Create your bot on Bot Connector

  1. Make sure you are logged in to your Bot Connector account

  2. Click the button New Bot and define the bot as follows

    • Bot Name: Star Wars Bot
    • Bot URL: enter your Heroku URL + /webhook (MY_HEROKU_URL.heroku.com/webhook)
  3. In Settings find your slug, token and bot ID. Copy paste those values in the Config Variables section of your Heroku app to BC_USER_SLUG, BC_USER_TOKEN and BC_BOT_ID

  4. Get back to your Bot Connector account and add a Messenger channel. Give it a name and follow step 1 to 4 in order to get your Secret Key & Page Token

Step 3: Get your Recast.AI bot

  1. Make sure you are logged in to your Recast.AI account
  2. Follow this link Star Wars Wiki Bot and fork the bot to your account
  3. Copy paste your bot request access token in the Config Variables section of your Heroku app to RE_BOT_TOKEN
  4. You're all set !

Author

PE Lieb @pedward_lieb

You can follow us on Twitter at @recastai for updates and releases.

Special thanks

obaw-0x0006-star-wars's People

Contributors

plieb avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.