Virtual Assistant for Car using Natual Language Processing.
- Docker
Download BERT NER & Intent models and place them at src/nlp/entities/models
& src/nlp/intents/models
.
Build docker image:
docker build -t cva .
Run:
docker run -it --rm -p 5000:5000 cva
Test it by sending a HTTP POST request to http://localhost:5000/analyze
with a JSON body as following:
{
"texts": [
"đến địa chỉ 268, đường Lý Thường Kiệt, phường 14, quận 10",
"cho tôi đến ký túc xá Bách Khoa",
"gọi điện cho thầy Thơ"
]
}