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

angle brackets in prompts not shown in UI and break other prompts

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • None
    • AI

      Problem

      When a prompt is using angle brackets, they are no longer shown in the UI after saving the prompt in the prompt management. And when such a prompt is used on a language resource with RAG, no custom prompt at all will be sent to LLM.

      Steps to reproduce

      Create a prompt in the prompt management:
      "Words like <this> should be kept in angle brackets."

      Go tot an LLM resource which already uses some custom prompts and add the new one to it. 

      Translate a sample text in the test window and look at the "Raw data".

      No custom prompt is used at all.

      Solution

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

              Created:
              Updated: