Add resetting to chat rest endpoint
What does this MR do and why?
Adds optional parameter that resets chat history before and after making new request to LLM.
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.
- Call chat rest api with
reset_history
parameter set to true. - In web ui observe
New chat
information in chat window before answer to the question posted through rest endpoint.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #433137 (closed)
Edited by Gosia Ksionek