ChatHistoryMemoryProvider.State Constructor
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.
Initializes a new instance of the ChatHistoryMemoryProvider.State class with the specified storage and search scopes.
public State(Microsoft.Agents.AI.ChatHistoryMemoryProviderScope storageScope, Microsoft.Agents.AI.ChatHistoryMemoryProviderScope? searchScope = default);
new Microsoft.Agents.AI.ChatHistoryMemoryProvider.State : Microsoft.Agents.AI.ChatHistoryMemoryProviderScope * Microsoft.Agents.AI.ChatHistoryMemoryProviderScope -> Microsoft.Agents.AI.ChatHistoryMemoryProvider.State
Public Sub New (storageScope As ChatHistoryMemoryProviderScope, Optional searchScope As ChatHistoryMemoryProviderScope = Nothing)
Parameters
- storageScope
- ChatHistoryMemoryProviderScope
The scope to use when storing chat history messages.
- searchScope
- ChatHistoryMemoryProviderScope
The scope to use when searching for relevant chat history messages. If null, the storage scope will be used for searching as well.