File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 15
15
-----
16
16
- Added data validator that checks if domain object returned is empty. If so, exit early from the command ``rasa data validate ``
17
17
- Added the KeywordIntentClassifier
18
+ - Added documentation for ``AugmentedMemoizationPolicy ``
18
19
- Fall back to ``InMemoryTrackerStore `` in case there is any problem with the current
19
20
tracker store
20
21
Original file line number Diff line number Diff line change @@ -417,6 +417,24 @@ training data. It predicts the next action with confidence ``1.0``
417
417
if this exact conversation exists in the training data, otherwise it
418
418
predicts ``None `` with confidence ``0.0 ``.
419
419
420
+ Augmented Memoization Policy
421
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
422
+
423
+ The ``AugmentedMemoizationPolicy `` remembers examples from training
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 ``.
429
+
430
+ .. note ::
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.
437
+
420
438
.. _fallback-policy :
421
439
422
440
Fallback Policy
You can’t perform that action at this time.
0 commit comments