TextSearchProviderOptions.RecentMessageMemoryLimit 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 number of recent conversation messages (both user and assistant) to keep in memory and include when constructing the search input for BeforeAIInvoke searches.
public int RecentMessageMemoryLimit { get; set; }
member this.RecentMessageMemoryLimit : int with get, set
Public Property RecentMessageMemoryLimit As Integer
Property Value
The maximum number of most recent messages to retain. A value of 0 (default) disables memory and
only the current request's messages are used for search input. The value is a count of individual
messages, not turns. Only messages with role User or
Assistant are retained.