LoopContext.AdditionalProperties 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 a mutable bag of per-run state shared across iterations and available to every evaluator.
public Microsoft.Extensions.AI.AdditionalPropertiesDictionary AdditionalProperties { get; }
member this.AdditionalProperties : Microsoft.Extensions.AI.AdditionalPropertiesDictionary
Public ReadOnly Property AdditionalProperties As AdditionalPropertiesDictionary
Property Value
Remarks
This dictionary is owned by the loop run (not by any evaluator instance) so that evaluators can remain stateless. Evaluators can stash arbitrary per-run state here keyed by a collision-resistant key.