小飞侠 - 2022年9月
type: channel
link: http://www.kexue.love/index.php/2022/09/
description: 爱科学-刘磊
items: rasa_policy解析

rasa_policy解析
type: item
date: 2022-09-15T07:59:38+00:00
description: Three PoliciesYour assistant uses policies to decide which action to take at each step in a conversation. There are three different policies that the default config.yml file starts out with:1.The RulePolicy handles conversations that match predefined rule patterns. It makes predictions based on any rules you have in your rules.yml file.2.The MemoizationPolicy checks if the current conversation matches any of the stories in your training data. If so, it will predict the next action from the matching stories.3.The TEDPolicy uses machine learning to predict the next best action. It is explained in full detail in our paper and on our YouTube channel.