ChatHistoryMemoryProviderOptions.StateKey Property
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.
Gets or sets the key used to store provider state in the StateBag.
public string? StateKey { get; set; }
member this.StateKey : string with get, set
Public Property StateKey As String
Property Value
Defaults to the provider's type name. Override this if you need multiple ChatHistoryMemoryProvider instances with separate state in the same session.