Skip to content

hyunwoo-e/OpenNLU

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenBot License

Web-based API Server like 'IBM Watson Conversation API', 'Microsoft Language Understanding Intelligence Service'

OpenBot & OpenNLU provides what you need to build retrieval-based korean chatbot.

OpenNLU is able to recognize intent and entity using DNN models.

OpenBot is able to configure dialog, manage conversation information of user and handle exceptions.

Overview

default

Installation and Settings

setting requirements

  • intent.txt (write intents and sentences)
  • entity.txt (write entities and values)
  • synonym.txt (write words and synonyms)

build requirements

  • Python 3.5
  • django, djangorestframework
  • numpy
  • gensim
  • scipy
  • sklearn
  • tensorflow
  • konlpy
  • JPype

execute requirements

  • python manage.py runserver :
  • python manage.py runserver 0.0.0.0:8000 (ALL)

Projects based on OpenBot & OpenNLU

Samples

Sample Request

{
	"text":"건대입구 위치 알려줘"
}

Sample Response

{
    "intents": [
        {
            "intent": "#Location",
            "score": 0.8604595835264408
        }
    ],
    "entities": [
        {
            "values": [
                {
                    "end": 4,
                    "start": 0,
                    "value": "건대입구"
                }
            ],
            "entity": "@장소"
        }
    ],
    "text": "건대입구 위치 알려줘"
}

Sample Request

{
	"text":"내일 시간표 알려줘"
}

Sample Response

{
    "entities": [
        {
            "entity": "Date",
            "values": [
                {
                    "end": 2,
                    "value": "2017-11-10",
                    "start": 0
                }
            ]
        }
    ],
    "intents": [
        {
            "score": 0.9976826419186618,
            "intent": "#Schedule"
        }
    ],
    "text": "내일 시간표 알려줘"
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages