Skip to content

feat(*): added AskKb config, updated ai tool ui and response handling

MRdevTagg requested to merge ai-tool-improves-query-kb into master

Main Changes:

  • New config on AiService: AskKb
  • Updated AskAIOverlay component UI:
    • Added a dropdown to manage this new settings(can be extended).
    • Changed result type from string to object (to handle stringified json responses, if response is not a json string, it will be wrapped into a object with the shape { content: response }), this way it will work with both types of responses.
    • Updated 'send prompt' icon and added a new config icon(for the settings dropdown).
    • Results are displayed as html on ResultDiv, allways keeping the original strings on 'result' object.

Merge request reports