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
💡 Currently, only minimal user sentence content discrimination is supported for demo support.
- Current Support Features
-
model : intent_classification
TIMER NEXT BEFORE REPEAT 0 1 2 3
-
- Future Support Features
- NER Support (entent classification)
- Error occurred and some code implementation contents are being corrected
- NER Support (entent classification)
pre_trained_model for intent classification :
Share Google Drive for GitHub File Capacity Limits
download pre_trained_model and Save model to top of project directory
run command : python Flask_API_Server.py
➡️ server running result :Img of Server command_line
qury :
http post protocol :
entry_point : /chat_request
body : JSON
Example :
{"chatString":"타이머 설정해줘"}{
"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
