Open turnerrainer opened 1 year ago
AS AN Architect I WANT to have a REST service to fetch the content of a specific rule SO THAT there wouldn't be duplicate services for it
/rasa/rules
rule_name
stories.yml
version: "3.0" rules: - rule: common_tervitus_conversation conversation_start: true steps: - intent: common_tervitus - action: utter_common_esimene_tervitus - rule: common_tervitus steps: - intent: common_tervitus - action: utter_common_tervitus - rule: common_hüvasti_jätmine steps: - intent: common_hüvasti_jätmine - action: utter_common_hüvasti_jätmine
Output for a request for story common_tervitus
common_tervitus
{ "rule": "common_tervitus", "steps": [ { "intent": "common_tervitus" }, { "action": "utter_common_tervitus" } ] }
Changed input parameter from rule_name to rule
rule
@RaulAltmae please link this issue with an appropriate pull request.
Pull request https://github.com/buerokratt/Training-Module/pull/151
AS AN Architect I WANT to have a REST service to fetch the content of a specific rule SO THAT there wouldn't be duplicate services for it
Acceptance Criteria
/rasa/rules
with POSTrule_name
parameter as inputExamples
stories.yml
Output for a request for story
common_tervitus