All notable changes to the "Intent Classification Service" WhatItIs/program/extension/API/whatever will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Added BERT model -
bert-base-multilingual-cased
from huggingface as multilingual encoder model - Added error handling codes for /intent endpoint as per the following specifications:
- BODY_MISSING, 400
- TEXT_MISSING, 400
- INVALID_TYPE, 400
- TEXT_EMPTY, 400
- INTERNAL_ERROR, 500
- Added model training and production evaluation notebook in
notebooks/
- Added Docker files
- Added POSTMAN api documentation
- Modifed the /ready logic with simple
model
isNone
check as theIntentClassifier
does not have anyready()
method.
- In the initial code the model was loaded after flask server was up. Moved the model loading before starting server fixed the issue.