Skip to content

Latest commit

 

History

25 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat-Bot AI Model And API Flask SERVER

Graduation Chatbot AI Model and API Server Module

The code for this chatbot AI module and API server module is the result of borrowing and modifying the code for the open source kochat project.

https://github.com/hyunwoongko/kochat


Implementation of temporary functions

💡 Currently, only minimal user sentence content discrimination is supported for demo support.
  1. Current Support Features
    1. model : intent_classification

      TIMER NEXT BEFORE REPEAT
      0 1 2 3
  2. Future Support Features
    1. NER Support (entent classification)
      1. Error occurred and some code implementation contents are being corrected

API Server Runner:

pre_trained_model for intent classification :

KoBERT_Intent_model.pt

Share Google Drive for GitHub File Capacity Limits

how to run server :

download pre_trained_model and Save model to top of project directory

run command : python Flask_API_Server.py

➡️ server running result :

Untitled

Img of Server command_line

qury :

http post protocol :

entry_point : /chat_request

body : JSON

Example :

{"chatString":"타이머 설정해줘"}

ideal return result

{
    "chatString": "타이머 설정해줘",
    "intent": "0"
}

requirements :

pip install git+https://git@github.com/SKTBrain/KoBERT.git@master

pip install konlpy

pip install seqeval

pip install pytorch-crf

pip install gensim

About

this system is using kochat's dataset framework.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages