Configuration to restrict the chat history in Fusion AI agent studio
We are working on QnA type of chat bot where users can ask multiple questions in a single chat conversation session.
As the number of questions increase, agent token consumption is increased drastically. One of the major reason is that the chat history is maintained for all the responses (you can inspect <CHAT_HISTORY> tag in debug mode).
Is there anyway that we can restrict the usage of chat history to last few user interactions ?
prompting the agent to restrict it doesn't seem to work as it looks like the feature of AI agent studio framework
Version (include the version you are using, if applicable):
Tagged:
1