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

        Activity

          People

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

            Dates

              Created:
              Updated: