Giter Club home page Giter Club logo

rasasupportbot's Introduction

rasasupportbot

Create a virtual environment

  • Make sure the version of python used is python 3.8

python3 -m venv venv

source venv/bin/activate (Linux/UNIX)

venv\Scripts\activate (Windows)

pip install rasa=3.0

Note: M1 Mac users install Rasa by following this guide - https://forum.rasa.com/t/an-unofficial-guide-to-installing-rasa-on-an-m1-macbook/51342

Train model

rasa train

Run rasa in terminal

rasa shell

Train rasa with examples while running it on terminal

rasa interactive

Run RASA on web (tested only on M1 mac chrome and Raspberry pi chromium)

rasa run --enable-api --cors="*" Clone bizdamn/priya and run the following command in the directory - npm install npm start

How to add data to dataset

Add intent examples to data/nlu.yml

- intent: new_intent_name
  examples: |
    - some intent examples
    - make sure the examples help train the AI
    - and has all necessary keywords as well as variations of the keywords
    - minimum 5 examples are recommended
    - these examples all correspond to the same intent and will be mapped to a particular response so kindly do not club various examples together.

Add intent name and response to domain.yml

intents:
  - existing_intent_name
  - new_intent_name
  .
  .
  .
responses:
  utter_new_intent_name:
  - text: "The response to new_intent_name"
  - image: "https://image.com/image.png" # optional

Add rules to data/rules.yml to map the intent and response

- rule: Do action when asked about intent
  steps:
  - intent: new_intent_name
    action: utter_new_intent_name

TODO

  • Add frontend
  • Update Frontend for Pi
  • Add voice support (speech synthesis and speech recognition)
  • Increase dataset (and add buttons and slots/entities)
  • Add a fallback intent.
  • Add university map.
  • Look into better STT and TTS.
  • Connect Mic and Speakers
  • Give the Pi a body
  • Add the frontend code to this repository

Optional/Future Work:

  • Wake word
  • Interface with mouth movements and face (refer something like UwU)
  • Design 3d printed body

Known bugs/Issues

  • Does not work on Safari (M1 Mac)

rasasupportbot's People

Contributors

aashi779 avatar ana42742 avatar devprisha avatar mdeekshithareddy avatar pgambhir0102 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.