Skip to content

Commit e2fd15b

Browse files
author
Kevin Castro
committed
simplify text in line with edit requests
1 parent 3f4662e commit e2fd15b

File tree

1 file changed

+11
-14
lines changed

1 file changed

+11
-14
lines changed

docs/core/policies.rst

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -421,22 +421,19 @@ Augmented Memoization Policy
421421
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
422422

423423
The ``AugmentedMemoizationPolicy`` remembers examples from training
424-
stories for up to ``max_history`` turns. It has a forgetting mechanism
425-
that will forget a certain amount of steps in the conversation history
426-
and try to find a match in your stories with the reduced history. It
427-
predicts the next action with confidence ``1.0`` if a match is found,
428-
otherwise it predicts ``None`` with confidence ``0.0``.
424+
stories for up to ``max_history`` turns, just like the ``MemoizationPolicy``.
425+
Additionally, it has a forgetting mechanism that will forget a certain amount
426+
of steps in the conversation history and try to find a match in your stories
427+
with the reduced history. It predicts the next action with confidence ``1.0``
428+
if a match is found, otherwise it predicts ``None`` with confidence ``0.0``.
429429

430430
.. note::
431-
432-
If it is needed to recall turns from training dialogues where some
433-
slots might not be set during prediction time, add relevant stories
434-
without such slots to training data, e.g. reminder stories. Since
435-
slots that are set some time in the past are preserved in all
436-
future feature vectors until they are set to None, this policy has
437-
a capability to recall the turns up to ``max_history`` from training
438-
stories during prediction even if additional slots were filled in
439-
the past for current dialogue.
431+
432+
If you have dialogues where some slots that are set during
433+
prediction time might not be set in training stories (e.g. in training
434+
stories starting with a reminder not all previous slots are set),
435+
make sure to add the relevant stories without slots to your training
436+
data as well.
440437

441438
.. _fallback-policy:
442439

0 commit comments

Comments
 (0)