cdhiraj40 / Meme-Rasa-Bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MEME Rasa Bot

A bot made for absolute fun. It can create memes..

πŸ‘‡ Prerequisites

Before installation, please make sure you have already installed the following tool:

pip install pipenv

We will use pipenv to easily manage and setup a working environment.

πŸ› οΈ Installation Steps

Once you have cloned the project follow these steps to install:

  • Initialize a virtual environment and install dependencies via use pipenv
cd Meme-Rasa-Bot
pipenv install

πŸ§‘β€πŸ’» Training and Testing

  • Train bot
rasa train
  • Test bot on terminal
rasa shell
  • start rasa server and test locally
rasa run --enable-api --port 5005
  • start actions server
rasa run actions -p 5005

Once the server is up and running, test the bot directly via postman
Here's a blog to explore the rasa apis with postman

But here are some of the common apis to use:

  1. Testing the bot
    POST: http://localhost:5005/webhooks/rest/webhook with the body
{
    "message": <your message>
}
  1. Check rasa version
    GET: http://localhost:5005/version no body needed

You could also explore the apis with postman via video.

About

License:MIT License


Languages

Language:Python 100.0%