-
Type:
Bug
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: translate5 AI
-
High
-
None
-
FIX: Improve parsing of TQE responses, avoid presenting a server error to the user
-
None
-
Emptyshow more show less
PROBLEM
A TQE request failed to parse a rather simple response from the model:
```json
{"score": 0, "reasoning": "The source text 'Ul.' is likely an abbreviation for 'Ulica' (Street) in a Polish context or a specific name/initial in German, but the machine translation changed it to 'UI.' (User Interface). There is no linguistic or contextual basis for this substitution, resulting in a complete loss of original meaning."}
```
Also, after 5 retries (requesting the same thing getting the exact same response) the user got a "500 server error".
SOLUTION
- Improve the parsing to be able to parse the response above
- Improve the log of the re-try mechanic