-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #359 from hellohaptik/develop
Develop to Master
- Loading branch information
Showing
54 changed files
with
5,013 additions
and
392 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -105,3 +105,5 @@ sftp-config.json | |
logs/ | ||
|
||
.vscode | ||
newman_reports/ | ||
dev.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,7 +62,7 @@ disable=invalid-name, | |
import-error, | ||
too-few-public-methods | ||
|
||
enable= | ||
enable=unused-import | ||
|
||
|
||
[REPORTS] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,67 @@ | ||
# This is config.example file for chatbot_ner module similar to .env.example file to hold settings | ||
# Copy it to a file named config and fill in all the values. | ||
# Copy it to a docker/.env and fill in all the values. | ||
# Never push your personal keys and passwords to any public repository! | ||
# Please don't add spaces around '=' | ||
|
||
# This is the primary engine to use. Valid values are one of the following: ['elasticsearch'] | ||
NAME=chatbot_ner | ||
DJANGODIR=/app | ||
DJANGO_DEBUG=False | ||
DJANGO_LOG_LEVEL=DEBUG | ||
DJANGO_SETTINGS_MODULE=chatbot_ner.settings | ||
DJANGO_WSGI_MODULE=chatbot_ner/wsgi.py | ||
# Important: Change the value of SECRET_KEY to something else and keep it secret | ||
SECRET_KEY=!yqqcz-v@(s@kpygpvomcuu3il0q1&qtpz)e_g0ulo-sdv%c0c | ||
|
||
NUM_WORKERS=1 | ||
MAX_REQUESTS=1000 | ||
PORT=8081 | ||
TIMEOUT=600 | ||
|
||
# This is the primary engine to use for datastore. Valid values are one of the following: ['elasticsearch'] | ||
ENGINE=elasticsearch | ||
|
||
# ES prefixed variables correspond to settings for elasticsearch. | ||
# ES_URL is the complete url with auth name and password required to connect. If provided, this will override ES_HOST, | ||
# ES_PORT, ES_AUTH_NAME, ES_AUTH_PASSWORD | ||
# ES_HOST by default is host for ES that comes up with compose | ||
# ES_HOST and ES_PORT by default is host for ES that comes up with compose | ||
|
||
ES_URL= | ||
ES_AUTH_NAME= | ||
ES_AUTH_PASSWORD= | ||
ES_SCHEME=http | ||
ES_HOST=elasticsearch | ||
ES_URL= | ||
ES_PORT=9200 | ||
ES_INDEX_NAME=entity_data | ||
ES_ALIAS=entity_data | ||
ES_INDEX_1=entity_data_v1 | ||
ES_INDEX_2= | ||
ES_DOC_TYPE=data_dictionary | ||
# ES_BULK_MSG_SIZE is an integer value | ||
ELASTICSEARCH_CRF_DATA_DOC_TYPE=training_dictionary | ||
ELASTICSEARCH_CRF_DATA_INDEX_NAME=entity_examples_data | ||
|
||
ES_BULK_MSG_SIZE=1000 | ||
# ES_SEARCH_SIZE is an integer value | ||
ES_SEARCH_SIZE=10000 | ||
# Provide the following values if you need AWS authentication | ||
ES_AWS_SERVICE= | ||
ES_AWS_REGION= | ||
|
||
# Auth variables if ES is hosted on AWS | ||
ES_AWS_ACCESS_KEY_ID= | ||
ES_AWS_REGION= | ||
ES_AWS_SECRET_ACCESS_KEY= | ||
ES_AWS_SERVICE= | ||
|
||
DESTINATION_ES_SCHEME= | ||
DESTINATION_HOST= | ||
DESTINATION_PORT= | ||
|
||
NAME=chatbot_ner | ||
DJANGODIR=/app | ||
NUM_WORKERS=1 | ||
MAX_REQUESTS=1000 | ||
DJANGO_SETTINGS_MODULE=chatbot_ner.settings | ||
DJANGO_WSGI_MODULE=chatbot_ner/wsgi.py | ||
DJANGO_LOG_LEVEL=debug | ||
DJANGO_DEBUG=False | ||
# Important: Change the value of SECRET_KEY to something else and keep it secret | ||
SECRET_KEY=!yqqcz-v@(s@kpygpvomcuu3il0q1&qtpz)e_g0ulo-sdv%c0c | ||
PORT=8081 | ||
TIMEOUT=600 | ||
CITY_MODEL_TYPE=crf | ||
CITY_MODEL_PATH= | ||
# In order to enable entity detection for multiple languages, we use google translate. Please enter the key(optional) | ||
GOOGLE_TRANSLATE_API_KEY= | ||
|
||
# Deprecated CRF models configuration | ||
MODELS_PATH= | ||
WORD_EMBEDDING_REMOTE_URL= | ||
EMBEDDINGS_PATH_VECTORS= | ||
EMBEDDINGS_PATH_VOCAB= | ||
CITY_MODEL_PATH= | ||
CITY_MODEL_TYPE=crf | ||
CRF_MODEL_S3_BUCKET_NAME= | ||
CRF_MODEL_S3_BUCKET_REGION= | ||
DATE_MODEL_PATH= | ||
DATE_MODEL_TYPE= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.