FlowOrchestratorConfig.MaxVariableLength 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.
The maximum length of a string variable.
public int MaxVariableLength { get; set; }
member this.MaxVariableLength : int with get, set
Public Property MaxVariableLength As Integer
Property Value
Remarks
In most cases, the required variables are passed to ReAct engine to infer the next plugin and parameters to execute. However when the variable is too long, it will either be truncated or decrease the robustness of value passing. To mitigate that, the Microsoft.SemanticKernel.Experimental.Orchestration.Execution.ReActEngine will avoid rendering the variables exceeding MaxVariableLength in the prompt. And the variables should be accessed implicitly from ContextVariables instead of function parameters by the plugins.