-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(atomic): make sure to escape any HTML generated by the AI model (#…
…4100) [SVCC-3883](https://coveord.atlassian.net/browse/SVCC-3883) An issue was reported where the AI model would generate an answer containing HTML elements (as examples). For instance, the generated answer would only contain an opening tag. The HTML element was not escaped and prevented the answer from being entirely displayed. This PR fixes the issue by escaping any HTML coming from the AI model. [SVCC-3883]: https://coveord.atlassian.net/browse/SVCC-3883?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
- Loading branch information
Showing
2 changed files
with
102 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters