translate5 AI: TQE fails to parse a very simple response, After 5 retries Server error is presented to the user

XMLWordPrintable

    • High
    • None
    • FIX: Improve parsing of TQE responses, avoid presenting a server error to the user
    • None

      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

            Assignee:
            Aleksandar Mitrev
            Reporter:
            Axel Becher
            Axel Becher Axel Becher
            Marc Mittag [Administrator]
            Axel Becher
            Leon Kiz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None