Open turnerrainer opened 1 year ago
Is the Get '/rasa/responses' endpoint suppose to get data from opensearch or domain.yml?
Is the Get '/rasa/responses' endpoint suppose to get data from opensearch or domain.yml?
@RaulAltmae the AC currently states
- [ ] Make requests to OpenSearch matching Rasa forms with index matching Rasa domain.yml
plus
Example of input and output
having a comment
PS! Request to OpenSearch
Would you like to change that?
No, request to opensearch is good. There was confusion, because in endpoint task it states that
list all Rasa responses from domain.yml in responses
Thats why i asked, just to be sure that we understand it the same way
This is blocked by https://github.com/buerokratt/Ruuter/discussions/132. If the problem with Ruuter is fixed then it should work as intended.
This is blocked by buerokratt/Ruuter#132. If the problem with Ruuter is fixed then it should work as intended.
@RaulAltmae https://github.com/buerokratt/Ruuter/discussions/132#discussioncomment-4958365
Blocked due to Node errors. @KasparMinn to fix, @varmoh deploys.
Blocked by #289
When I go to page: https://admin.dev.buerokratt.ee/training/training/responses i see:
So the JSON response seems to be there but responses themselves are not visible.
PR: https://github.com/buerokratt/Training-Module/pull/316
This PR changes the functionality of the responses page slightly to fetch correct information from OpenSearch as well as correctly establish the three different searches for Rules.
Screenshots of the requests under PR link.
AS AN Architect I WANT to have a REST service to fetch a list of all Rasa responses SO THAT there wouldn't be duplicate services for it
Acceptance Criteria
GET endpoint
/rasa/responses
to list all responses with response name and valueExample of input and output
responses
ofdomain.yml
as a raw inputOutput
POST endpoint
/rasa/responses
with a POST parameterinput
to fetch the full content of all matching responses within the scope ofresponse_name
andresponse_text
Where in
utter_ask_direct_to_customer_support_form_affirm_deny
corresponds toresponse_name
andKas suunan teid klienditeenindajale? (Jah/Ei)
toresponse_text
.Example output for a request
See example
responses
ofdomain.yml
as a raw input from top