Details

    • Sub-task
    • Resolution: Unresolved
    • None
    • None
    • openai
    • High
    • Added ability to setup OpenAI GPT Prompts via 'Prompt management' section in 'Preferences' tab

    Description

      Overview of all Prompts available. A Prompt consists of system-messages and a corresponding example-set (which may has several languages). Each example-set may has different examples. It will be possible, to add a single example to all variants at once; We then use the similarity-tool to avoid adding duplicates - although generally the editor/manager is responsible for the coherence and integrity of the examples and the language-variants generally are seen as independant

      Main screen

      Overview grid ( id | name | comment | first 50 chars of sys message | tooltip with available languages as iso )

      • Each item: Delete (deletes all examples as well), Edit (opens Details)
      • Button: Load Trainings: loads all training data from Excel, handling of Excel as explained in attached example file
      • Button: Export Trainings: exports all training data from Excel, handling of Excel as explained in attached example file
      • Search: Searches in the names, Comments and System-Messages

      Trainings Details Screen

      Basically 3 Parts: 
          Upper half: name (editable) | comment (editable) | Button "Save"
          Middle: List of languages/iso-codes the example was edited in, Button "Add language"
          Lower half: Exampleset-editor itself (initially loaded in the last edited language)

      • List of languages/iso-codes: Will be ordered by the creation-date of the example, examples that are not complete will be shown in red
      • Click on Iso: Loads the exampleset into the "Exampleset editor" below
      • Button: Add language: Opens dialog to select (valid) isos (source/target) (base or with country) and adds an untranslated example based on the first added matching source-language exampleset.

      System message set editor

      • Button: "Load set": Loads only the set with the ID of the prompt currently opened for editing from Excel, handling and format of Excel as explained in attached example file
      • Button "Add": Adds a single empty message to the set.
      • Button "Reset": Reverts to the state when being loaded. Greyed out for new sets or nothing changed yet
      • Button "Save": saves the message-set to the backend.  Greyed out if nothing changed yet or no messages present
      • Button "Export set": Exports only the set currently opened for editing as Excel, handling and format of Excel as explained in attached example file

      Example set editor 

      • Button "Add": Adds a single empty example to the opened exampleset.
      • Button "Reset": Reverts to the state when being loaded. Greyed out for new sets or if nothing changed yet
      • Button "Save": saves the example-set to the backend (evaluates the completeness). Greyed out if nothing changed yet or no examples present
      • Button "Push sources": The sources will be "pushed" to all similar language-variants without target and we try to avoid duplicates by evaluating "similarity". This then changes the "completeness" of all affected examples.
      • Future Feature: Button "Create task": Adds a task with the example-lines as segments (NOT SEGMENTED IN ANY WAY), the tasks foreignId will be "t5training-" + trainingsId
      • Future Feature: Button "Load from task": Loads Task with the according Foreign-ID (if that exists) and the proper workflow-state

      Attachments

        1. ExampleEditor.png
          ExampleEditor.png
          39 kB
        2. Example-Prompt-Management-Export.xlsx
          9 kB
        3. image-2025-03-07-21-17-53-025.png
          image-2025-03-07-21-17-53-025.png
          80 kB
        4. image-2025-03-07-21-22-17-793.png
          image-2025-03-07-21-22-17-793.png
          26 kB
        5. image-2025-03-07-22-01-42-366.png
          image-2025-03-07-22-01-42-366.png
          146 kB
        6. image-2025-03-08-14-30-27-485.png
          image-2025-03-08-14-30-27-485.png
          119 kB
        7. image-2025-03-08-17-01-59-359.png
          image-2025-03-08-17-01-59-359.png
          65 kB
        8. image-2025-03-08-17-21-37-634.png
          image-2025-03-08-17-21-37-634.png
          180 kB
        9. image-2025-03-08-17-27-30-998.png
          image-2025-03-08-17-27-30-998.png
          160 kB
        10. image-2025-03-08-17-37-43-055.png
          image-2025-03-08-17-37-43-055.png
          75 kB
        11. image-2025-03-08-17-41-14-044.png
          image-2025-03-08-17-41-14-044.png
          33 kB
        12. image-2025-03-08-17-45-17-266.png
          image-2025-03-08-17-45-17-266.png
          37 kB
        13. image-2025-03-08-17-52-21-075.png
          image-2025-03-08-17-52-21-075.png
          151 kB
        14. image-2025-03-08-17-57-43-406.png
          image-2025-03-08-17-57-43-406.png
          147 kB
        15. image-2025-03-08-18-00-51-362.png
          image-2025-03-08-18-00-51-362.png
          134 kB
        16. image-2025-03-08-18-21-12-327.png
          image-2025-03-08-18-21-12-327.png
          229 kB
        17. image-2025-03-08-18-33-34-322.png
          image-2025-03-08-18-33-34-322.png
          108 kB
        18. image-2025-03-17-20-59-54-653.png
          image-2025-03-17-20-59-54-653.png
          152 kB
        19. PromptManagementDetails.png
          PromptManagementDetails.png
          121 kB
        20. PromptManagementOverview.png
          PromptManagementOverview.png
          99 kB
        21. SystemMessageEditor.png
          SystemMessageEditor.png
          28 kB

        Activity

          [TRANSLATE-4371] OpenAI GPT Training Improvements: Prompt Management
          marcmittag Marc Mittag [Administrator] made changes -
          Attachment New: image-2025-03-17-20-59-54-653.png [ 29501 ]
          marcmittag Marc Mittag [Administrator] made changes -
          Description Original: {color:#00875a}Overview of all Prompts available. A Prompt consists of system-messages and a corresponding example-set (which may has several languages). Each example-set may has different examples.{color} {color:#00875a}It will be possible, to add a single example to all variants at once; We then use the similarity-tool to avoid adding duplicates{color} -{color:#00875a} although generally the editor/manager is responsible for the coherence and integrity of the examples and the language-variants generally are seen as independant{color}

          {color:#00875a}*Main screen*{color}

          {color:#00875a}Overview grid ( id | name | comment | {color}{color:#ff8b00}first 50 chars{color} {color:#00875a}of sys message | {color}{color:#ff8b00}tooltip{color} {color:#00875a}with available languages as iso ){color}
           * {color:#00875a}Each item: Delete (deletes all examples as well), Edit (opens Details){color}
           * Button: Load Training: loads it from Excel, adds rows of first column as sys-msgs
           * {color:#00875a}Search: Searches in the names, Comments and System-Messages{color}

          {color:#00875a}*Trainings Details Screen*{color}

          {color:#00875a}Basically 3 Parts: {color}
          {color:#00875a}    Upper half: name (editable) | comment (editable) | Button "Save"{color}
          {color:#00875a}    Middle: List of languages/iso-codes the example was edited in, Button "Add language"{color}
          {color:#00875a}    Lower half: Exampleset-editor itself (initially loaded in the last edited language){color}
           * {color:#00875a}List of languages/iso-codes:{color} {color:#00875a}Will be ordered by the creation-date of the example, examples that are not complete will be shown in red{color}
           * {color:#00875a}Click on Iso: Loads the exampleset into the "Exampleset editor" below{color}
           * {color:#00875a}Button: Add language: Opens dialog to select (valid) isos (source/target) (base or with country) and adds an untranslated example based on the first added matching source-language exampleset.{color}

          {color:#00875a}*System message set editor*{color}
           * Button: "Load set": Loads from Excel as discussed (first column, each row a message)
           * {color:#00875a}Button "Add": Adds a single empty message to the set.{color}
           * {color:#00875a}Button "Reset": Reverts to the state when being loaded. Greyed out for new sets or nothing changed yet{color}
           * {color:#00875a}Button "Save": saves the message-set to the backend.  Greyed out if nothing changed yet or no messages present{color}
           * Button "Export set": Exports the set as Excel. Only messages with content will be exported.

          {color:#00875a}*Example set editor* {color}
           * {color:#00875a}Button "Add": Adds a single empty example to the opened exampleset.{color}
           * {color:#00875a}Button "Reset": Reverts to the state when being loaded. Greyed out for new sets or if nothing changed yet{color}
           * {color:#00875a}Button "Save": saves the example-set to the backend (evaluates the completeness).{color} {color:#00875a}Greyed out if nothing changed yet or no examples present{color}
           * Button "Load set": Loads the set from an Excel-file. 2 columns, first column: source, second column: target, each row an example. No other extras. Future idea: Support tmx as format
           * Button "Export set": Exports the set as Excel. Only complete examples will be exported.
           * {color:#00875a}Button "Push sources": The sources will be "pushed" to all similar language-variants without target and we try to avoid duplicates by evaluating "similarity". This then changes the "completeness" of all affected examples.{color}
           * Future Feature: Button "Create task": Adds a task with the example-lines as segments (NOT SEGMENTED IN ANY WAY), the tasks foreignId will be "t5training-" + trainingsId
           * Future Feature: Button "Load from task": Loads Task with the according Foreign-ID (if that exists) and the proper workflow-state
          New: {color:#00875a}Overview of all Prompts available. A Prompt consists of system-messages and a corresponding example-set (which may has several languages). Each example-set may has different examples.{color} {color:#00875a}It will be possible, to add a single example to all variants at once; We then use the similarity-tool to avoid adding duplicates{color} -{color:#00875a} although generally the editor/manager is responsible for the coherence and integrity of the examples and the language-variants generally are seen as independant{color}

          {color:#00875a}*Main screen*{color}

          {color:#00875a}Overview grid ( id | name | comment | {color}{color:#ff8b00}first 50 chars{color} {color:#00875a}of sys message | {color}{color:#ff8b00}tooltip{color} {color:#00875a}with available languages as iso ){color}
           * {color:#00875a}Each item: Delete (deletes all examples as well), Edit (opens Details){color}
           * Button: Load Trainings: loads all training data from Excel, handling of Excel as explained in attached example file
           * Button: Export Trainings: exports all training data from Excel, handling of Excel as explained in attached example file
           * {color:#00875a}Search: Searches in the names, Comments and System-Messages{color}

          {color:#00875a}*Trainings Details Screen*{color}

          {color:#00875a}Basically 3 Parts: {color}
          {color:#00875a}    Upper half: name (editable) | comment (editable) | Button "Save"{color}
          {color:#00875a}    Middle: List of languages/iso-codes the example was edited in, Button "Add language"{color}
          {color:#00875a}    Lower half: Exampleset-editor itself (initially loaded in the last edited language){color}
           * {color:#00875a}List of languages/iso-codes:{color} {color:#00875a}Will be ordered by the creation-date of the example, examples that are not complete will be shown in red{color}
           * {color:#00875a}Click on Iso: Loads the exampleset into the "Exampleset editor" below{color}
           * {color:#00875a}Button: Add language: Opens dialog to select (valid) isos (source/target) (base or with country) and adds an untranslated example based on the first added matching source-language exampleset.{color}

          {color:#00875a}*System message set editor*{color}
           * Button: "Load set": Loads only the set with the ID of the prompt currently opened for editing from Excel, handling and format of Excel as explained in attached example file
           * {color:#00875a}Button "Add": Adds a single empty message to the set.{color}
           * {color:#00875a}Button "Reset": Reverts to the state when being loaded. Greyed out for new sets or nothing changed yet{color}
           * {color:#00875a}Button "Save": saves the message-set to the backend.  Greyed out if nothing changed yet or no messages present{color}
           * Button "Export set": Exports only the set currently opened for editing as Excel, handling and format of Excel as explained in attached example file

          {color:#00875a}*Example set editor* {color}
           * {color:#00875a}Button "Add": Adds a single empty example to the opened exampleset.{color}
           * {color:#00875a}Button "Reset": Reverts to the state when being loaded. Greyed out for new sets or if nothing changed yet{color}
           * {color:#00875a}Button "Save": saves the example-set to the backend (evaluates the completeness).{color} {color:#00875a}Greyed out if nothing changed yet or no examples present{color}
           * {color:#00875a}Button "Push sources": The sources will be "pushed" to all similar language-variants without target and we try to avoid duplicates by evaluating "similarity". This then changes the "completeness" of all affected examples.{color}
           * Future Feature: Button "Create task": Adds a task with the example-lines as segments (NOT SEGMENTED IN ANY WAY), the tasks foreignId will be "t5training-" + trainingsId
           * Future Feature: Button "Load from task": Loads Task with the according Foreign-ID (if that exists) and the proper workflow-state
          marcmittag Marc Mittag [Administrator] made changes -
          Attachment New: Example-Prompt-Management-Export.xlsx [ 29495 ]
          marcmittag Marc Mittag [Administrator] made changes -
          Attachment New: image-2025-03-08-18-33-34-322.png [ 29438 ]
          marcmittag Marc Mittag [Administrator] made changes -
          Attachment Original: image-2025-03-08-18-14-53-418.png [ 29437 ]
          marcmittag Marc Mittag [Administrator] made changes -
          Attachment New: image-2025-03-08-18-21-12-327.png [ 29436 ]
          Attachment New: image-2025-03-08-18-14-53-418.png [ 29437 ]
          marcmittag Marc Mittag [Administrator] made changes -
          Attachment New: image-2025-03-08-18-00-51-362.png [ 29435 ]
          marcmittag Marc Mittag [Administrator] made changes -
          Attachment New: image-2025-03-08-17-57-43-406.png [ 29434 ]
          marcmittag Marc Mittag [Administrator] made changes -
          Attachment New: image-2025-03-08-17-52-21-075.png [ 29433 ]
          marcmittag Marc Mittag [Administrator] made changes -
          Attachment New: image-2025-03-08-17-45-17-266.png [ 29432 ]

          People

            pavelperminov Pavel Perminov
            axelbecher Axel Becher
            Axel Becher
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: