Skip to content

r-sagar-cs/customer_bot

 
 

Repository files navigation

Simple Chatbot using Rasa.ai

Documentation in progress ...

Using RASA NLU version 0.12.3

Using RASA Core version 0.9.0a6

How to Run:

What to Install

Install Rasa NLU

$pip install rasa_nlu

Install Rasa Core

I am installing from Git.


$git clone https://github.com/RasaHQ/rasa_core.git
$cd rasa_core
$pip install -r requirements.txt
$pip install -e .

How to find rasa_core and rasa_nlu version

$python -c "import rasa_nlu; print(rasa_nlu.__version__);"
$python -c "import rasa_core; print(rasa_core.__version__);"

How to do HTTP/REST

$python -m rasa_core.server -d models/dialogue -u models/nlu/default/customernlu/ --debug -o out.log --cors *

On a separate terminal, run CURL

$curl -XPOST localhost:5005/conversations/default/respond -d '{"query":"Hello"}'

It should output

[{"recipient_id":"default","text":"Hello! How can I help?"}]

Further Improvements:

About

Simple chatbot using Rasa.ai

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%