You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
.Net: Access to Chat history in semantic kernel function #7263
changed the title [-]Access to Chat history in semantic kernel function[/-][+].Net: Access to Chat history in semantic kernel function[/+]on Jul 15, 2024
Could be implemented in different ways (e.g. by adding ChatHistory to KernelArguments, by extending InvokeAsync methods with new ChatHistory parameter etc.)
ADR is required to investigate and find the best possible approach.
The solution could potentially solve the problem with lack of ChatHistory in Kernel object, which can remove a need to use IChatCompletionService directly for most cases.
Activity
[-]Access to Chat history in semantic kernel function[/-][+].Net: Access to Chat history in semantic kernel function[/+]markwallace-microsoft commentedon Jul 15, 2024
This works in python but not .Net
dmytrostruk commentedon Jul 24, 2024
More information about this task:
ChatHistorytoKernelArguments, by extendingInvokeAsyncmethods with newChatHistoryparameter etc.)ChatHistoryinKernelobject, which can remove a need to useIChatCompletionServicedirectly for most cases.gdodd1977 commentedon Oct 17, 2024
Is there any update on this work Mark Wallace (@markwallace-microsoft)? This would be a great feature to have.
markwallace-microsoft commentedon Oct 21, 2024
Gregory T Dodd (@gdodd1977) We will try to get this done during our current sprint which starts today
.Net: Added an example how to access ChatHistory in SK function (#9527)