You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone Build is passing
Details
|
1 year ago | |
---|---|---|
k8s | 3 years ago | |
model_service | 2 years ago | |
.drone.yml | 1 year ago | |
.gitignore | 3 years ago | |
Dockerfile | 1 year ago | |
README.md | 1 year ago | |
requirements-dev.txt | 3 years ago | |
requirements.txt | 2 years ago |
README.md
Model Service
This service is a smart-storage for models used in various Ai algorithms (SVM and CNN) in the system. It also stores a "default pointer" to the Ai model intended to be used by the system.
The different Ai models can be accessed trough different endpoints.
This service requires a MinIO service and a relational database (possibly PostgreSQL). It does not initiate connection to other services.
Configure
- SENTRY_DSN: Sentry DSN. See https://docs.sentry.io/product/sentry-basics/dsn-explainer/
- RELEASE_ID: Release ID for Sentry.
- RELEASEMODE: Release mode for sentry.
- DATABASE_URI: URI connection string for the relational database. (e.g.:
postgresql://birbnetes:supersecret@model-postgres/model-service
) - MINIO_ENDPOINT: MinIO connection configuration. See https://pypi.org/project/Flask-Minio/
- MINIO_ACCESS_KEY: MinIO connection configuration. See https://pypi.org/project/Flask-Minio/
- MINIO_SECRET_KEY: MinIO connection configuration. See https://pypi.org/project/Flask-Minio/
- MINIO_SVM_BUCKET_NAME: Name of the bucket to store SVM model files.
- MINIO_CNN_BUCKET_NAME: Name of the bucket to store CNN model files.
- MINIO_SECURE: MinIO connection configuration. See https://pypi.org/project/Flask-Minio/
- MINIO_REGION: MinIO connection configuration. See https://pypi.org/project/Flask-Minio/
- SECRET_KEY: Flask secret key. See https://flask.palletsprojects.com/en/2.0.x/config/#SECRET_KEY