2. rasa architecture

rasa architecture

  • message processing

    • This diagram shows the basic steps of how a helper built with Rasa responds to a message:

      [External link picture transfer failed, the source site may have an anti-leeching mechanism, it is recommended to save the picture and upload it directly (img-VISJhvgz-1641609421965) (4.rasa%E6%9E%B6%E6%9E%84.assets/6fkBiLM9KfrI .png)]

    • These steps are: 1. The message is received and passed to the interpreter (Interpreter), which converts it into a dictionary containing the original text, the intent, and any entities found. This part is handled by NLU. 2. Tracker (Tracker) is an object that tracks the state of a dialog. It receives information that new messages come in. 1. Policy receives the current state of the tracker. 3. The policy chooses the next action to take. 4. Selected actions are recorded by the tracker. 5. The response is sent to the user.

is sent to the user.

*注意 消息可以是人类输入的文本,也可以是按钮按下等结构化输入

Guess you like

Origin blog.csdn.net/m0_49501453/article/details/122377055