forked from alfredfrancis/ai-chatbot-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py
executable file
·30 lines (24 loc) · 702 Bytes
/
config.py
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
class Config(object):
DEBUG = False
MONGODB_DB = "iky-ai"
MONGODB_HOST = "127.0.0.1"
MONGODB_PORT = 27017
MONGODB_USERNAME = ""
MONGODB_USERNAME = ""
# Intent Classifier model details
MODELS_DIR = "model_files/"
INTENT_MODEL_NAME = "intent.model"
DEFAULT_FALLBACK_INTENT_NAME = "fallback"
DEFAULT_WELCOME_INTENT_NAME = "init_conversation"
USE_WORD_VECTORS = True
class Development(Config):
DEBUG = True
class Production(Config):
# MongoDB Database Details
MONGODB_DB = "iky-ai"
MONGODB_HOST = "mongodb"
MONGODB_PORT = 27017
MONGODB_USERNAME = ""
MONGODB_USERNAME = ""
# Web Server details
WEB_SERVER_PORT = 8001