forked from RasaHQ/rasa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.json
58 lines (58 loc) · 1.55 KB
/
app.json
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
56
57
58
{
"name": "rasa_nlu",
"description": "a service for interpreting natural language",
"image": "heroku/python",
"repository": "https://github.com/RasaHQ/rasa_nlu",
"keywords": ["python" ],
"addons": [],
"scripts": {
"postdeploy": "echo '{}' > config.json;mkdir logs;python -m spacy download en"
},
"buildpacks": [
{
"url": "https://github.com/kennethreitz/conda-buildpack.git"
}
],
"env" : {
"RASA_TOKEN": {
"generator": "secret",
"description": "token for validating requests"
},
"RASA_PIPELINE": {
"description": "which pipeline to use",
"value": "spacy_sklearn"
},
"RASA_PATH": {
"description": "where to save projects and their models",
"value": "/app/data"
},
"RASA_LOGDIR": {
"description": "where to save logs",
"value": "/app/logs"
},
"RASA_MITIE_FILE": {
"description": "file containing mitie feature extractor",
"value": "${RASA_PATH}/total_word_feature_extractor.dat"
},
"RASA_SERVER_MODEL_DIRS": {
"description": "dir containing model which should be used to process requests",
"required": false
},
"AWS_SECRET_ACCESS_KEY": {
"description": "secret key for S3 access",
"required": false
},
"AWS_ACCESS_KEY_ID": {
"description": "key id for S3 access",
"required": false
},
"BUCKET_NAME": {
"description": "name of s3 bucket",
"value": "rasanlu"
},
"AWS_REGION": {
"description": "aws region of S3 bucket",
"value": "eu-west-1"
}
}
}