How to input free text with custom actions & slots using forms

Domain.yml

  • Vendor_Name:

    use_entities:

    - ven_name
    
  • VTR_Request_ID_ENT:

    use_entities:

    - vtr_req_id
    

entities:

  • vtr_req_id

  • ven_name

slots:

ven_name:

type: text

utter_Search_for_VTR_service_request/Search_for_VTR_service_request:

  • text: “Can you provide one of the following:”

    buttons:

    • title: “VTR Request ID (ex. Format E-RQ-00001)”

      payload: “VTR_Request_ID”

    • title: “Vendor Name (ex. Microsoft)”

      payload: “Vendor_Name”

    custom:

    type: “list”

actions:

  • action_vtr_status

  • action_vendor_status

  • action_reset_slot

forms:

name_form:

ven_name:

- type: from_text

and Stories.yml is

  • story: Fetch Vendor Name

    steps:

    • intent: Vendor_Name

    • action: name_form

    • active_loop: name_form

    • slot_was_set:

      • requested_slot: ven_name
    • slot_was_set:

      • ven_name: Microsoft
    • slot_was_set:

      • requested_slot: null
    • active_loop: null

    • action: action_vendor_status

    • action: action_reset_slot

and nlu.yml is

  • intent: “Vendor_Name”

    examples: |-

    • Vendor_Name

WARNING:rasa.core.processor:Circuit breaker tripped. Stopped predicting more actions for sender ‘3e65d6b9-074c-45b3-a0a1-2ef6bc782857’ this error im getting, suggest me how to forward with this.