ChatClientAgentOptions.AIContextProviderFactory 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 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)