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 Nullable<int> MaximumIterationsPerRequest { Nullable<int> get(); void set(Nullable<int> value); };
public int? MaximumIterationsPerRequest { get; set; }
member this.MaximumIterationsPerRequest : Nullable<int> with get, set
Public Property MaximumIterationsPerRequest As Nullable(Of Integer)
Property Value
The maximum number of iterations per request.
The default value is null
.
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. If null, there is no limit applied. If set, 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.