buerokratt / Training-Module

MIT License
2 stars 21 forks source link

REST service to provide full content of a specified Rasa regex #125

Open turnerrainer opened 1 year ago

turnerrainer commented 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

Acceptance Criteria

Examples

Sample input

version: "3.0"
nlu:
- regex: asukoht
  examples: |
    - abja[- ]paluoja
    - antsla
    - elva
    - haapsalu

Output for requesting "asukoht" as an input

examples=false
true
examples=true
{
  "asukoht": ["abja[- ]paluoja", "antsla", "elva", "haapsalu"]
}
turnerrainer commented 1 year ago

@janyprus please link this issue with an appropriate pull request.

janyprus commented 1 year ago

Pull request #154

ffrose commented 11 months ago

Bug described under task #107. Can start testing when it gets fixed.

ffrose commented 9 months ago

Works as intended.