Rasa 3.1 机器学习一构建标准的对话

1、控制请求(domain.yml)

version: "3.1"

intents:
  - hello

session_config:
  session_expiration_time: 60
  carry_over_slots_to_new_session: true

2、规则制定(rules.yml)

version: "3.1"
rules:
  - rule: haveb
    steps:
      - intent: hello
      - action: utter_hello

3、故事编写(stories.yml)

version: "3.1"
stories:
  - story: hello
    steps:
      - intent: hello
      - action: utter_hello

4、训练对话数据模板(nlu.yml)

version: "3.1"
nlu:
  - intent: hello
    examples: |
      - 早
      - 你好
      - hi
      - hello

你可能感兴趣的:(机器学习,机器学习,人工智能)