Skip to content

Another prompt improvements

Gosia Ksionek requested to merge mk-prompts-improvements-2 into master

What does this MR do and why?

Improve prompts for chat based on https://promptperfect.jina.ai suggestions.

it improves prompt rake task rating to 86% (results from 7.07).

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. In rails console enable the experiment fully
    Feature.enable(:ai_chat_prompt_alternative)
  2. run the rake task: rake "gitlab:llm:zero_shot:test:questions[issue_url]"
  3. See the accurancy rate and default answers counter.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Gosia Ksionek

Merge request reports