Share via


ExtraParameters Struct

Definition

Controls what happens if extra parameters, undefined by the REST API, are passed in the JSON request payload.

public readonly struct ExtraParameters : IEquatable<Azure.AI.Inference.ExtraParameters>
type ExtraParameters = struct
Public Structure ExtraParameters
Implements IEquatable(Of ExtraParameters)
Inheritance
ExtraParameters
Implements

Constructors

ExtraParameters(String)

Initializes a new instance of ExtraParameters.

Properties

Drop

The service will ignore (drop) extra parameters in the request payload. It will only pass the known parameters to the back-end AI model.

Error

The service will error if it detected extra parameters in the request payload. This is the service default.

PassThrough

The service will pass extra parameters to the back-end AI model.

Methods

Equals(ExtraParameters)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(ExtraParameters, ExtraParameters)

Determines if two ExtraParameters values are the same.

Implicit(String to ExtraParameters)

Converts a String to a ExtraParameters.

Inequality(ExtraParameters, ExtraParameters)

Determines if two ExtraParameters values are not the same.

Applies to