TextSearchProviderOptions.ContextFormatter 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.
Optional delegate to fully customize formatting of the result list.
public Func<System.Collections.Generic.IList<Microsoft.Agents.AI.TextSearchProvider.TextSearchResult>,string>? ContextFormatter { get; set; }
member this.ContextFormatter : Func<System.Collections.Generic.IList<Microsoft.Agents.AI.TextSearchProvider.TextSearchResult>, string> with get, set
Public Property ContextFormatter As Func(Of IList(Of TextSearchProvider.TextSearchResult), String)
Property Value
Remarks
If provided, ContextPrompt and CitationsPrompt are ignored.