Skip to content
Discussion options

You must be logged in to vote

We recommend managing the chat history and sending the whole chat history and not just the previous message - here's a good blog post on managing the chat history (https://devblogs.microsoft.com/semantic-kernel/managing-chat-history-for-large-language-models-llms/#:~:text=Starting%20with%20Semantic%20Kernel%20version%201.35.0%20chat%20history,messages%20or%20you%20can%20implement%20your%20own%20reducer.) - you'll also want to truncate the message history if it becomes too large.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by sophialagerkranspandey
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants