FunctionInvokingChatClient.MaximumIterationsPerRequest 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 the maximum number of iterations per request.
public:
property int MaximumIterationsPerRequest { int get(); void set(int value); };
public int MaximumIterationsPerRequest { get; set; }
member this.MaximumIterationsPerRequest : int with get, set
Public Property MaximumIterationsPerRequest As Integer
Property Value
The maximum number of iterations per request. The default value is 10.
Remarks
Each request to this FunctionInvokingChatClient might end up making multiple requests to the inner client. Each time the inner client responds with a function call request, this client might perform that invocation and send the results back to the inner client in a new request. This property limits the number of times such a roundtrip is performed. The value must be at least one, as it includes the initial request.
Changing the value of this property while the client is in use might result in inconsistencies as to how many iterations are allowed for an in-flight request.