Skip to content

Commit

Permalink
Update policy docu according to CR.
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorCoCo committed Jan 26, 2020
1 parent e61fb6f commit 40ee42a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions coco_rasa/coco_rasa.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,12 @@


class CoCoContextPolicy(Policy):
"""Policy which maps intents directly to actions.
"""
Maintains CoCo multi-turn session by keeping active action mapped
to custom CoCo action while the Form set by CoCo to maintain the session
is active.
"""

Intents can be assigned components in the domain file which are to be
executed whenever the intent is detected. This policy takes precedence over
any other policy."""
def train(
self,
training_trackers: List[DialogueStateTracker],
Expand Down

0 comments on commit 40ee42a

Please sign in to comment.