forked from RasaHQ/rasa
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into add-general-dimension-filter
- Loading branch information
Showing
90 changed files
with
1,053 additions
and
799 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 |
---|---|---|
|
@@ -43,4 +43,5 @@ docs/key.pub | |
secrets.tar | ||
.pytest_cache | ||
src | ||
test_download.zip | ||
|
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
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,2 +1,2 @@ | ||
scipy==1.1.0 | ||
scikit-learn==0.19.1 | ||
scikit-learn==0.20.2 |
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
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
|
@@ -4,5 +4,3 @@ | |
tensorflow==1.12.0 | ||
scipy==1.1.0 | ||
sklearn-crfsuite==0.3.6 | ||
keras-applications==1.0.6 | ||
keras-preprocessing==1.0.5 |
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,6 +1,6 @@ | ||
language: en | ||
pipeline: | ||
- name: "intent_featurizer_count_vectors" | ||
- name: "CountVectorsFeaturizer" | ||
max_ngram: 3 | ||
- name: "intent_classifier_tensorflow_embedding" | ||
- name: "EmbeddingIntentClassifier" | ||
epochs: 10 |
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
FROM python:3.6-slim | ||
|
||
ENV RASA_NLU_DOCKER="YES" \ | ||
RASA_NLU_HOME=/app \ | ||
RASA_NLU_PYTHON_PACKAGES=/usr/local/lib/python3.6/dist-packages | ||
|
||
# Run updates, install basics and cleanup | ||
# - build-essential: Compile specific dependencies | ||
# - git-core: Checkout git repos | ||
RUN apt-get update -qq \ | ||
&& apt-get install -y --no-install-recommends build-essential git-core openssl libssl-dev libffi6 libffi-dev curl \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
||
WORKDIR ${RASA_NLU_HOME} | ||
|
||
COPY . ${RASA_NLU_HOME} | ||
|
||
# use bash always | ||
RUN rm /bin/sh && ln -s /bin/bash /bin/sh | ||
|
||
RUN pip install -r alt_requirements/requirements_pretrained_embeddings_spacy.txt | ||
|
||
RUN pip install -e . | ||
|
||
RUN pip install https://github.com/explosion/spacy-models/releases/download/de_core_news_sm-2.0.0/de_core_news_sm-2.0.0.tar.gz --no-cache-dir > /dev/null \ | ||
&& python -m spacy link de_core_news_sm de | ||
|
||
VOLUME ["/app/projects", "/app/logs", "/app/data"] | ||
|
||
EXPOSE 5000 | ||
|
||
ENTRYPOINT ["./entrypoint.sh"] | ||
CMD ["start", "-c", "config.yml", "--path", "/app/projects"] |
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
Oops, something went wrong.