Coder Social home page Coder Social logo

swiftops / nlp_service Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 166 KB

NLP service for SwiftOps

License: Apache License 2.0

Jupyter Notebook 32.27% Shell 2.52% Python 45.83% HTML 4.27% CSS 15.10%
rasa-nlu rasa-core rasa slack-bot slack python3 jupyter-notebook nlu nlg nlp

nlp_service's Introduction

Build Status

nlp_service

NLP service for SwiftOps (Work-in-progress)

Getting started

Prerequisites

Install prerequesists by executing following command

python -m pip install -r requirements.txt

Configuration

Update following configuration files as per your dialog flow needs or start with templates given.

  • train_model/stories.md
  • train_model/domain.yml
  • train_model/nlu.md

Configure credentials for your prefered conversation channel Note; We have given example of Slack, as well as Bot UI, more on the way

  • train_model/credentials.yml

Training

train models using folling command

./train_model/train.sh

Testing

You can test your model on ither command prompt or if you have Jupyter notebook, use train_model/test.ipynb

./train_model/test_bot.sh

Starting rasa_core server

Start Server to connect to your configured communication chanel, Slack in this case. You can start the server with ither command line utility or start using bot/bot_listner.py

using Command line

./start_core.sh

using python command

python service.py

your server is started on port 5002 Make your server accessible on the Internet so that Slack can communicate with it. You need to download ngrok utility for the same.

ngrok http 5002

Configure Forwarding url in Slack API. open your slack client and enjoy your conversation.

Starting Conversation UI

python chat_ui/conversation_interface.py

your CUI server is started on port 8080

nlp_service's People

Contributors

azure-pipelines[bot] avatar deenaik avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

nlp_service's Issues

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.