-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
In the consultation of dialogues, a translation service must be added, which must receive a translating queryParamns with the language to be translated. Ex: https://english-talking-api.herokuapp.com/v1/dialog?traslateTo="pt-BR"
with that, a consultation with a translation api must be done, passing the speech and the answer.
The result should look something like this:
"status": "approved",
"translation": {
"speech": "Oi",
"answer": "Oi, como você está?",
},
"approvals": [
"5fc8125886a56e2e8c8fff7b",
"5fc9014f0e23a50023311186",
"5fc9a38af62af90023a751c1",
"5fca944de205a20023602054"
],
"disapprovals": [
"5fc8250215af8b0023efcf79"
],
"_id": "5fc812b786a56e2e8c8fff7c",
"speech": "Hi",
"answer": "Hi, how are you?",
"user": "5fc8125886a56e2e8c8fff7b",
"createdAt": "2020-12-02T22: 18: 31.779Z",
"updatedAt": "2020-12-04T20: 56: 23.964Z",
"__v": 6,
"approval_rate": 80
},
Describe alternatives you've considered
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request