Skip to content

hazemhosny/Chatbot_Countries

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chatbot Countries

Introduction

Using Rasa 3.0 to create a customized, and user friendly AI bot that can help with countries. you can ask things like:

  • Show me countries around the world.
  • What do you know about Greece?
  • what is the population of Australia?
  • Tell me the capital of Japan.

It can Handle different stories, variations, and case sensitive words. example:

Input: Tell me the capital of USA.
Bot: Washington, D.C. is the capital of USA.
Input: what about its population?
Bot: There is 32.82 crores in USA.

Run chatbot

To run chatbot on your system you need to install rasa 3.0 on your virtual environment (anaconda) following this link to install rasa on your local drive: youtube or Rasa documentation

after installation:

  1. Open your conda virtual env for rasa in terminal.
  2. Clone this repo to your project directory
  3. Open the first terminal, and run:
    • rasa train
  4. Open new terminal with rasa virtual env to run actions server, make sure you are in the project directory, and run:
    • rasa run actions
  5. Get back to the first terminal, and run:
    • rasa shell
  6. From here you are good to go with the chatbot. Have fun ^_^

Note: for a more interactive way, and to get to share chatbot link over the network see rasa x.

Bot example

Here is an example for a conversation driven through different turns.

BotExample