Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-3909

OpenAI: set model parameters max/min

    XMLWordPrintable

Details

    • High
    • Fix problem where OpenAI model parameters are not settable to 0.

    Description

      Problem

      Setting model parameters with min or max parameter value is not possible for float or int parameters because of wrong value check for 0 in the validation function.

      In addition to the above problem, the useDefaultMsg and useSystemMsgs are not respected on saving the form.

      Solution

      0 is valid value for float parameters. Instead of setting it to default use 0 as param value in case it is set from the UI.

      Attachments

        Activity

          People

            aleksandar Aleksandar Mitrev
            aleksandar Aleksandar Mitrev
            Axel Becher
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: