Coder Social home page Coder Social logo

chatbot's Introduction

Software used

  • rasa NLU
  • rasa core
  • spacy
  • sqlite3
  • mongodb

Installation

  1. Create a conda enviorment: conda create -n rasa_chatbot python=3.7.1

  2. Conda activate the enviorment: conda activate rasa_chatbot

  3. Install the requirements: pip install -r requirements.txt

  4. Download the spacy english library: python -m spacy download en

Run the bot

Method 1-

  • Command line: python -m rasa_core.run -d models/dialogue -u models/nlu/default/con_nlu --port 5005 --endpoints endpoints.yml --credentials credentials.yml

  • New terminal Command Line: php -S localhost:8080

  • Web browser goto: localhost:8080

Method 2-

  • Command Line: python -m rasa_core_sdk.endpoint --actions actions
  • New terminal Command Line: python chat_session.py

Demo Conversation- `

  • USER: Hi
  • CHATBOT: Hey! I am a conference assistant. I can help you find the sessions to attend, or answer conference-related questions.
  • USER: suggest me some machine learning sessions
  • CHATBOT: I would recommend you attend: Building a production-scale ML platform
  • USER: length of the session?
  • CHATBOT: The session is 40 min
  • USER: speaker?
  • CHATBOT: The speaker is YU DONG.
  • USER: thanks, bye
  • CHATBOT: You are very welcome! `

chatbot's People

Contributors

praneeth16 avatar

Watchers

 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.