AIContextProvider.ProvideInputMessageFilter 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 the filter function to apply to input messages before providing context via ProvideAIContextAsync(AIContextProvider+InvokingContext, CancellationToken).
protected Func<System.Collections.Generic.IEnumerable<Microsoft.Extensions.AI.ChatMessage>,System.Collections.Generic.IEnumerable<Microsoft.Extensions.AI.ChatMessage>> ProvideInputMessageFilter { get; }
member this.ProvideInputMessageFilter : Func<seq<Microsoft.Extensions.AI.ChatMessage>, seq<Microsoft.Extensions.AI.ChatMessage>>
Protected ReadOnly Property ProvideInputMessageFilter As Func(Of IEnumerable(Of ChatMessage), IEnumerable(Of ChatMessage))