You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 28, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: docs/core/retrieval-actions.rst
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,12 @@ Retrieval Actions
13
13
We introduce experimental features to get feedback from our community, so we encourage you to try it out!
14
14
However, the functionality might be changed or removed in the future.
15
15
If you have feedback (positive or negative) please share it with us on the `forum <https://forum.rasa.com>`_.
16
+
Also, currently we do not support adding new annotations in Rasa X if your training data contains retrieval actions.
17
+
Once we have gathered enough feedback and we're happy with the training data format, we'll add support for training response retrieval models in Rasa X.
18
+
19
+
.. note::
20
+
There is an in-depth blog post `here <https://blog.rasa.com/response-retrieval-models/>`_ about how to use retrieval
21
+
actions for handling single turn interactions.
16
22
17
23
.. contents::
18
24
:local:
@@ -52,6 +58,9 @@ You can cover all of these with a single story where the above intents are group
52
58
A retrieval action uses the output of a :ref:`response-selector` component from NLU which learns a
53
59
retrieval model to predict the correct response from a list of candidate responses given a user message text.
54
60
61
+
62
+
.. _retrieval-training-data:
63
+
55
64
Training Data
56
65
^^^^^^^^^^^^^
57
66
@@ -95,6 +104,10 @@ This is a key difference to the response templates in your domain file.
95
104
to the training process. The contents of it cannot be a part of the file which contains training data for other
96
105
components of NLU.
97
106
107
+
.. note::
108
+
As shown in the above examples, ``/`` symbol is reserved as a delimiter to separate retrieval intents from response text identifier. Make sure not to
109
+
use it in the name of your intents.
110
+
98
111
Config File
99
112
^^^^^^^^^^^
100
113
@@ -227,4 +240,4 @@ Example result:
227
240
}
228
241
229
242
If the ``retrieval_intent`` parameter of a particular response selector was left to its default value,
230
-
the corresponding response selector will be identified as ``default`` in the returned output.
243
+
the corresponding response selector will be identified as ``default`` in the returned output.
Copy file name to clipboardExpand all lines: docs/nlu/training-data-format.rst
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,6 +72,10 @@ Lookup tables may be specified either directly as lists or as txt files containi
72
72
.. note::
73
73
The common theme here is that common examples, regex features and lookup tables merely act as cues to the final NLU model by providing additional features to the machine learning algorithm during training. Therefore, it must not be assumed that having a single example would be enough for the model to robustly identify intents and/or entities across all variants of that example.
74
74
75
+
.. note::
76
+
``/`` symbol is reserved as a delimiter to separate retrieval intents from response text identifiers. Make sure not to
0 commit comments