Open Kristjan259 opened 11 months ago
AS AN Architect I WANT TO have a REST service to update an existing Rasa regex SO THAT there wouldn't be any duplicate services for it
/rasa/regex/update
data/asukoht_nlu.yml
Input
version: "3.0" nlu: - regex: asukoht examples: | - abja[- ]paluoja - antsla - elva - haapsalu
Output after making a request to update regex name"asukoht" to "asukohad" and the name of the file is updated from "asukoht.yml" to "asukohad.yml"
version: "3.0" nlu: - regex: asukohad examples: | - abja[- ]paluoja - antsla - elva - haapsalu
Pull request.
BUG - unable to update the name of a specific regex.
Pull request with fix
BUG - Unable to update the name of a regex.
Pull request fix to renaming
Works as intended.
AS AN Architect I WANT TO have a REST service to update an existing Rasa regex SO THAT there wouldn't be any duplicate services for it
Acceptance Criteria
/rasa/regex/update
to update the name of the Rasa regex nlu fileExamples
data/asukoht_nlu.yml
Input
Output after making a request to update regex name"asukoht" to "asukohad" and the name of the file is updated from "asukoht.yml" to "asukohad.yml"