Share via


FlowOrchestratorConfig.MaxVariableLength Property

Definition

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.

Applies to