AIContextProvider.InvokingContext.AIContext 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.
public Microsoft.Agents.AI.AIContext AIContext { get; }
member this.AIContext : Microsoft.Agents.AI.AIContext
Public ReadOnly Property AIContext As AIContext
Property Value
Remarks
If multiple AIContextProvider instances are used in the same invocation, each AIContextProvider will receive the context returned by the previous AIContextProvider allowing them to build on top of each other's context.
The first AIContextProvider in the invocation pipeline will receive an AIContext instance that already contains the caller provided messages that will be used by the agent for this invocation.
It may also contain messages from chat history, if a ChatHistoryProvider is being used.