forked from hellohaptik/chatbot_ner
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example
More file actions
55 lines (44 loc) · 1.56 KB
/
config.example
File metadata and controls
55 lines (44 loc) · 1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# 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.
# Never push your personal keys and passwords to any public repository!
# Make sure the variables in this file are in the environment. Example:
# $ source chatbot_ner/config
# Please don't add spaces around '='
# This is the primary engine to use. Valid values are one of the following:
# elasticsearch
ENGINE=elasticsearch
# ES prefixed values 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_AUTH_NAME=
ES_AUTH_PASSWORD=
ES_HOST=elasticsearch
ES_URL=
ES_PORT=9200
ES_INDEX_NAME=entity_data
ES_DOC_TYPE=data_dictionary
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
PORT=8081
TIMEOUT=600
CITY_MODEL_TYPE=crf
CITY_MODEL_PATH=
GOOGLE_TRANSLATE_API_KEY=
# ES_BULK_MSG_SIZE is an integer value
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_SECRET_ACCESS_KEY=
ES_AWS_ACCESS_KEY_ID=
ES_AWS_REGION=
ES_AWS_SERVICE=
# In order to enable entity detection for multiple languages, we use google translate. Please enter the key(optional)
GOOGLE_TRANSLATE_API_KEY=