EndpointRequestSettings Class

Note

This is an experimental class, and may change at any time. Please see https://aka.ms/azuremlexperimental for more information.

Initialize EndpointRequestSettings.

Constructor

EndpointRequestSettings(*, request_batch_size: int | None = None, min_endpoint_success_ratio: float | None = None)

Parameters

Name Description
request_batch_size
Required
Optional[int], <xref:optional>

The number of requests to send to the teacher model endpoint as a batch, defaults to None

min_endpoint_success_ratio
Required
Optional[float], <xref:optional>

The ratio of (successful requests / total requests) needed for the data generation step to be considered successful. Must be a value between 0 and 1 inclusive, defaults to None

Methods

items

items

items()

Attributes

min_endpoint_success_ratio

Get the minimum ratio of successful inferencing requests.

Returns

Type Description

The minimum ratio of successful inferencing requests.

request_batch_size

Get the number of inference requests to send to the teacher model as a batch.

Returns

Type Description

The number of inference requests to send to the teacher model as a batch.