Open turnerrainer opened 1 year ago
AS AN Architect I WANT TO have a REST service to fetch the full content of a specified Rasa regex SO THAT there wouldn't be any duplicate services for it
/rasa/regex
regex
data/regex_nlu.yml
examples=true
examples=false
Sample input
version: "3.0" nlu: - regex: asukoht examples: | - abja[- ]paluoja - antsla - elva - haapsalu
Output for requesting "asukoht" as an input
true
{ "asukoht": ["abja[- ]paluoja", "antsla", "elva", "haapsalu"] }
@janyprus please link this issue with an appropriate pull request.
Pull request #154
Bug described under task #107. Can start testing when it gets fixed.
Works as intended.
AS AN Architect I WANT TO have a REST service to fetch the full content of a specified Rasa regex SO THAT there wouldn't be any duplicate services for it
Acceptance Criteria
/rasa/regex
with a POST parameter as an inputregex
section of Rasadata/regex_nlu.yml
as inputexamples=true
as an input POST parameter, the output provides full content, including examplesexamples=false
as an input POST parameter, only a list of appropriate files with intent names is returnedexamples=false
is usedExamples
Sample input
Output for requesting "asukoht" as an input
examples=false
examples=true