Advertisement
Guest User

Rasa Setup

a guest
Nov 19th, 2020
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 2.85 KB | None | 0 0
  1. ---
  2. intents:
  3. - Backend tech
  4. - Begin conversation
  5. - Clarification
  6. - Frontend tech
  7. - Greeting
  8. - What are you
  9. actions:
  10. - action_handover
  11. - action_core_fallback
  12. nlu:
  13. - intent: Backend tech
  14.   examples: |
  15.    - What language is backend written in?
  16.     - What language is used?
  17.     - What language do you use?
  18.     - What framework is used?
  19.     - Do you use any framework?
  20.     - What tech stack is backend made of?
  21.     - What backend tech do you use?
  22. - intent: Begin conversation
  23.   examples: |
  24.    - Begin conversation
  25.     - Begin Conversation
  26.     - Begin
  27. - intent: Clarification
  28.   examples: |
  29.    - What does it mean?
  30.     - What do you mean?
  31.     - Be more specific
  32.     - What do you mean?
  33. - intent: Frontend tech
  34.   examples: |
  35.    - What frontend is used?
  36.     - What frontend tech do you use?
  37.     - Frontend tech?
  38. - intent: Greeting
  39.   examples: |
  40.    - Hello
  41.     - Hey
  42.     - Hi
  43.     - Good day
  44.     - Hello
  45.     - ahoy
  46.     - hey
  47.     - hey man
  48.     - hey
  49.     - hey
  50. - intent: What are you
  51.   examples: |
  52.    - What are you?
  53.     - Who are you?
  54.     - What do you know?
  55.     - What is your purpose?
  56.     - Are you alive?
  57.     - What's your name?
  58.     - Are you a human?
  59.     - What technologies are you made of?
  60.     - Who are you?
  61.     - whats up
  62. version: "2.0"
  63. language: en
  64. policies:
  65. - name: MemoizationPolicy
  66. - name: TEDPolicy
  67.   max_history: 5
  68.   epochs: 50
  69. - name: RulePolicy
  70.   core_fallback_threshold: 0.200000
  71.   core_fallback_action_name: action_core_fallback
  72.   enable_fallback_prediction: true
  73. pipeline:
  74. - name: WhitespaceTokenizer
  75. - name: RegexFeaturizer
  76. - name: LexicalSyntacticFeaturizer
  77. - name: CountVectorsFeaturizer
  78. - name: CountVectorsFeaturizer
  79.   analyzer: char_wb
  80.   min_ngram: 1
  81.   max_ngram: 4
  82. - name: DIETClassifier
  83.   epochs: 50
  84. - name: EntitySynonymMapper
  85. stories:
  86. - story: Simple greeting 157
  87.   steps:
  88.   - intent: Greeting
  89.   - action: utter_af33737f251535af4398be828e6939e9b96df35f
  90.   - intent: What are you
  91.   - action: utter_a843a06145c90f81d8d17ed84f403395fb710d08
  92. - story: Another 169
  93.   steps:
  94.   - intent: Backend tech
  95.   - action: utter_b8a7830281b4122a3b6d24776857e0bd1dc7ce76
  96.   - intent: Clarification
  97.   - action: utter_f08ec5efb2262d5cff6ac534e081dd76688914b0
  98. - story: Fuck you 175
  99.   steps:
  100.   - intent: What are you
  101.   - action: utter_3ea3407f1897b9b2e39f410ec90bbb2e1cb6d1da
  102.   - action: action_handover
  103. responses:
  104.   utter_af33737f251535af4398be828e6939e9b96df35f:
  105.   - text: Hey man, what's up?
  106.   utter_a843a06145c90f81d8d17ed84f403395fb710d08:
  107.   - text: I'm SAOGAFB - Super-Awesome Ober-Great & Funny Bot
  108.   utter_b8a7830281b4122a3b6d24776857e0bd1dc7ce76:
  109.   - text: Awesome and more awesome
  110.   utter_f08ec5efb2262d5cff6ac534e081dd76688914b0:
  111.   - text: Sorry, you wouldn't understand that much awesomeness
  112.   utter_3ea3407f1897b9b2e39f410ec90bbb2e1cb6d1da:
  113.   - text: Reconnecting to human, please wait...
  114. ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement