IChatHistoryReducer Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines a contract for a reducing chat history.
public interface IChatHistoryReducer
type IChatHistoryReducer = interface
Public Interface IChatHistoryReducer
- Derived
Methods
Equals(Object) |
Each reducer shall override equality evaluation so that different reducers of the same configuration can be evaluated for equivalency. |
GetHashCode() |
Each reducer shall implement custom hash-code generation so that different reducers of the same configuration can be evaluated for equivalency. |
ReduceAsync(IReadOnlyList<ChatMessageContent>, CancellationToken) |
Optionally reduces the chat history. |