You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AS A Product Owner
I WANT Services to be launched based on detected intents if they exist
SO THAT End Clients could use (gov) e-services where via chat when applicable
Acceptance Criteria
Add an additional step to Ruuter DSL to validate from an approriate Postgres database if Rasa response has a matching Service
Keep all other functionalities as they are right now
The End Client sends a message "Tere" ("Hello" in Estonian)
Ruuter sends the request AS IS to Rasa, which responds with "Kuidas saan abiks olla?"
Ruuter does not detect # as the first character of Rasa's response, so passes the response AS IS to the End Client
Intended workflow nr. 2
The End Client sends a message "Ilm Tallinnas" ("What's the weather like in Tallinn" in Estonian)
Ruuter sends the request AS IS to Rasa, which responds with "#weather; Tallinn;"
Ruuter detects # as the first character of Rasa's response, so passes weather to Postgres to validate if there's a matching Services linked to it
If a matching Service exists, it will be triggered by Ruuter as a standard REST call to an external endpoint
The response received from the external endpoint is added to Bürokratt's Chat database
Intended workflow nr. 2
The End Client sends a message "Ilm Tallinnas" ("What's the weather like in Tallinn" in Estonian)
Ruuter sends the request AS IS to Rasa, which responds with "#weather; Tallinn;"
Ruuter detects # as the first character of Rasa's response, so passes weather to Postgres to validate if there's a matching Services linked to it
If a matching Service does not exist, a response indicating that the Service is currently unavailable is sent as a predefined i18s key called service_currently_unavailable
The text was updated successfully, but these errors were encountered:
AS A Product Owner
I WANT Services to be launched based on detected intents if they exist
SO THAT End Clients could use (gov) e-services where via chat when applicable
Acceptance Criteria
Scope
service_triggers
linking intents and ServicesPrerequisites
Intended workflow nr. 1
#
as the first character of Rasa's response, so passes the response AS IS to the End ClientIntended workflow nr. 2
"#weather; Tallinn;"
#
as the first character of Rasa's response, so passesweather
to Postgres to validate if there's a matching Services linked to itIntended workflow nr. 2
"#weather; Tallinn;"
#
as the first character of Rasa's response, so passesweather
to Postgres to validate if there's a matching Services linked to iti18s
key calledservice_currently_unavailable
The text was updated successfully, but these errors were encountered: