Share via


ChatClientAgentOptions.AIContextProviderFactory Property

Definition

Gets or sets a factory function to create an instance of AIContextProvider which will be used to create a context provider for each new thread, and can then provide additional context for each agent run.

public Func<Microsoft.Agents.AI.ChatClientAgentOptions.AIContextProviderFactoryContext,Microsoft.Agents.AI.AIContextProvider>? AIContextProviderFactory { get; set; }
member this.AIContextProviderFactory : Func<Microsoft.Agents.AI.ChatClientAgentOptions.AIContextProviderFactoryContext, Microsoft.Agents.AI.AIContextProvider> with get, set
Public Property AIContextProviderFactory As Func(Of ChatClientAgentOptions.AIContextProviderFactoryContext, AIContextProvider)

Property Value

Applies to