Skip to content

Commit c58ae0b

Browse files
committed
Merge branch '1.6.x'
2 parents 3d8f4b4 + 53685e8 commit c58ae0b

File tree

10 files changed

+65
-21
lines changed

10 files changed

+65
-21
lines changed

CHANGELOG.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,23 @@ This project adheres to `Semantic Versioning`_ starting with version 1.0.
1717

1818
.. towncrier release notes start
1919
20+
[1.6.2] - 2020-01-28
21+
^^^^^^^^^^^^^^^^^^^^
22+
23+
Improvements
24+
------------
25+
- `#4989 <https://github.com/rasahq/rasa/issues/4989>`_: Switching back to a TensorFlow release which only includes CPU support to reduce the
26+
size of the dependencies. If you want to use the TensorFlow package with GPU support,
27+
please run ``tensorflow-gpu==1.15.0``.
28+
29+
Bugfixes
30+
--------
31+
- `#5111 <https://github.com/rasahq/rasa/issues/5111>`_: Fixes ``Exception 'Loop' object has no attribute '_ready'`` error when running
32+
``rasa init``.
33+
- `#5126 <https://github.com/rasahq/rasa/issues/5126>`_: Updated the end-to-end ValueError you recieve when you have a invalid story format to point
34+
to the updated doc link.
35+
36+
2037
[1.6.1] - 2020-01-07
2138
^^^^^^^^^^^^^^^^^^^^
2239

docs/core/interactive-learning.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ Some people call this `Software 2.0 <https://medium.com/@karpathy/software-2-0-a
2222
.. note::
2323

2424
Rasa X provides a UI for interactive learning, and you can use any user conversation
25-
as a starting point. See `Annotate Conversations <https://rasa.com/docs/rasa-x/annotate-conversations/>`_ in the Rasa X docs.
25+
as a starting point. See
26+
`Talking to Your Assistant <https://rasa.com/docs/rasa-x/user-guide/enable-workflows#talking-to-your-assistant/>`_
27+
in the Rasa X docs.
2628

2729
.. contents::
2830
:local:

docs/user-guide/command-line-interface.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -254,11 +254,11 @@ You can specify the input file, output file, and the output format with the foll
254254

255255

256256
Start Rasa X
257-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
257+
~~~~~~~~~~~~
258258

259259
.. raw:: html
260260

261-
Rasa X is a tool that helps you build, improve, and deploy AI Assistants that are powered by the Rasa framework.
261+
Rasa X is a toolset that helps you leverage conversations to improve your assistant.
262262
You can find more information about it <a class="reference external" href="https://rasa.com/docs/rasa-x/" target="_blank">here</a>.
263263

264264
You can start Rasa X locally by executing
@@ -269,8 +269,7 @@ You can start Rasa X locally by executing
269269
270270
.. raw:: html
271271

272-
To be able to start Rasa X you need to have Rasa X installed (instruction can be found
273-
<a class="reference external" href="https://rasa.com/docs/rasa-x/installation-and-setup/" target="_blank">here</a>)
272+
To be able to start Rasa X you need to have Rasa X local mode installed
274273
and you need to be in a Rasa project.
275274

276275
.. note::

docs/user-guide/connectors/your-own-website.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Your Own Website
99

1010
If you just want an easy way for users to test your bot, the best option
1111
is usually the chat interface that ships with Rasa X, where you can `invite users
12-
to test your bot <../../rasa-x/docs/get-feedback-from-test-users>`_.
12+
to test your bot <../../rasa-x/docs/user-guide/enable-workflows#conversations-with-test-users>`_.
1313

1414
If you already have an existing website and want to add a Rasa assistant to it,
1515
you have a couple of options:

docs/user-guide/messaging-and-voice-channels.rst

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,6 @@ Messaging and Voice Channels
88

99
.. edit-link::
1010

11-
If you're testing this on your local computer (i.e. not a server), you
12-
will need to use `ngrok <https://rasa.com/docs/rasa-x/get-feedback-from-test-users/#use-ngrok-for-local-testing>`_.
13-
This gives your machine a domain name so that Facebook, Slack, etc. know where to send messages to
14-
reach your local machine.
15-
16-
1711
To make your assistant available on a messaging platform you need to provide credentials
1812
in a ``credentials.yml`` file.
1913
An example file is created when you run ``rasa init``, so it's easiest to edit that file
@@ -44,3 +38,31 @@ Learn how to make your assistant available on:
4438
connectors/rocketchat
4539
connectors/mattermost
4640
connectors/custom-connectors
41+
42+
43+
.. _using-ngrok:
44+
45+
Testing Channels on Your Local Machine with Ngrok
46+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
47+
48+
You can use `ngrok <https://ngrok.com/>`_ to create a connection to your local
49+
computer that is publicly available on the internet.
50+
You don't need this when running Rasa on a server because, you can set up a domain
51+
name to point to that server's IP address, or use the IP address itself.
52+
53+
After installing ngrok, run:
54+
55+
.. copyable::
56+
57+
ngrok http 5005; rasa run
58+
59+
Your webhook address will look like the following:
60+
61+
- ``https://yyyyyy.ngrok.io/webhooks/<CHANNEL>/webhook``, e.g.
62+
- ``https://yyyyyy.ngrok.io/webhooks/facebook/webhook``
63+
64+
.. warning::
65+
66+
With the free-tier of ngrok, you can run into limits on how many connections you can make per minute.
67+
As of writing this, it is set to 40 connections / minute.
68+

rasa/cli/x.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -153,10 +153,10 @@ def _get_event_broker_endpoint(
153153
return default_event_broker_endpoint
154154
elif not _is_correct_event_broker(event_broker_endpoint):
155155
cli_utils.print_error(
156-
"Rasa X currently only supports a SQLite event broker with path '{}' "
157-
"when running locally. You can deploy Rasa X with Docker "
158-
"(https://rasa.com/docs/rasa-x/deploy/) if you want to use "
159-
"other event broker configurations.".format(DEFAULT_EVENTS_DB)
156+
f"Rasa X currently only supports a SQLite event broker with path '{DEFAULT_EVENTS_DB}' "
157+
f"when running locally. You can deploy Rasa X with Docker "
158+
f"(https://rasa.com/docs/rasa-x/installation-and-setup/docker-compose-quick-install/) "
159+
f"if you want to use other event broker configurations."
160160
)
161161
continue_with_default_event_broker = questionary.confirm(
162162
"Do you want to continue with the default SQLite event broker?"
@@ -270,7 +270,7 @@ def _validate_rasa_x_start(args: argparse.Namespace, project_path: Text):
270270
"Rasa X is not installed. The `rasa x` "
271271
"command requires an installation of Rasa X. "
272272
"Instructions on how to install Rasa X can be found here: "
273-
"https://rasa.com/docs/rasa-x/installation-and-setup/."
273+
"https://rasa.com/docs/rasa-x/."
274274
)
275275

276276
if args.port == args.rasa_x_port:

rasa/core/training/dsl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def _parse_item(self, line: Text) -> Optional["Message"]:
5858
"Encountered invalid end-to-end format for message "
5959
"`{}`. Please visit the documentation page on "
6060
"end-to-end evaluation at {}/user-guide/evaluating-models/"
61-
"end-to-end-evaluation/".format(line, DOCS_BASE_URL)
61+
"#end-to-end-evaluation/".format(line, DOCS_BASE_URL)
6262
)
6363

6464
intent = match.group(2)

rasa/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# this file will automatically be changed,
22
# do not add anything but the version number here!
3-
__version__ = "1.6.1"
3+
__version__ = "1.6.2"

requirements.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ redis==3.3.5
88
pymongo[tls,srv]==3.8.0
99
numpy==1.16.3
1010
scipy==1.2.1
11-
tensorflow==1.15.0
11+
tensorflow-cpu==1.15.0
1212
absl-py>=0.8.0
1313
# setuptools comes from tensorboard requirement:
1414
# https://github.com/tensorflow/tensorboard/blob/1.14/tensorboard/pip_package/setup.py#L33
@@ -47,6 +47,8 @@ sanic-plugins-framework==0.8.2
4747
multidict==4.6.1
4848
aiohttp==3.5.4
4949
questionary==1.1.1
50+
# needed because of https://github.com/prompt-toolkit/python-prompt-toolkit/issues/951
51+
prompt-toolkit==2.0.10
5052
python-socketio==4.3.1
5153
# the below can be unpinned when python-socketio pins >=3.9.3
5254
python-engineio==3.9.3

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"pymongo[tls,srv]~=3.8",
3838
"numpy~=1.16",
3939
"scipy~=1.2",
40-
"tensorflow~=1.15.0",
40+
"tensorflow-cpu~=1.15.0",
4141
# absl is a tensorflow dependency, but produces double logging before 0.8
4242
# should be removed once tensorflow requires absl > 0.8 on its own
4343
"absl-py>=0.8.0",
@@ -78,6 +78,8 @@
7878
"multidict==4.6.1",
7979
"aiohttp~=3.5",
8080
"questionary>=1.1.0",
81+
# needed because of https://github.com/prompt-toolkit/python-prompt-toolkit/issues/951
82+
"prompt-toolkit<3.0",
8183
"python-socketio>=4.3.1",
8284
# the below can be unpinned when python-socketio pins >=3.9.3
8385
"python-engineio>=3.9.3",

0 commit comments

Comments
 (0)