Skip to content

Ai Response with rendered Markdown

What does this MR do and why?

As per issue, we want to skip the unnecessary trip to the server and add additional param to the AiResponse.

We are adding a new Enum param as markup format option, and using it for the Banzai library to process the input.

Screenshots or screen recordings

AiActionInput MarkupFormat
image image

How to set up and validate locally

  1. Checkout the branch
  2. Visit the graphql-explorer page (e.g. http://gdk.test:3000/-/graphql-explorer)
  3. Look for AiResponse from the Documentation Explorer
  4. Validate that the aiResponse includes responseBodyHtml field!

MR acceptance checklist

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

Related to #408120 (closed)

Edited by Bojan Marjanovic

Merge request reports