Skip to content

Add Vulnerability resolution improvements with prompt

Gosia Ksionek requested to merge mk-vr-improvements-with-prompt into master

What does this MR do and why?

Previous prompt for Resolve Vulnerability feature were proved not to be effective and producing results that were incorrect.

This change:

  • provides more detailed prompt
  • allowes LLM to respond with better code
  • allowes us to create more detailed MR description (!160351 (merged))

This change also adds handling of the new response. Previous response was code-block only, here we need to find part between correct xml-tags.

Prompt text was checked and approved by @rvider's team.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

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.

Edited by Gosia Ksionek

Merge request reports

Loading