Udostępnij za pośrednictwem


ConversationsModelFactory.WeightResolution(Double, WeightUnit) Method

Definition

Initializes a new instance of WeightResolution.

public static Azure.AI.Language.Conversations.Models.WeightResolution WeightResolution (double value = 0, Azure.AI.Language.Conversations.Models.WeightUnit unit = default);
static member WeightResolution : double * Azure.AI.Language.Conversations.Models.WeightUnit -> Azure.AI.Language.Conversations.Models.WeightResolution
Public Shared Function WeightResolution (Optional value As Double = 0, Optional unit As WeightUnit = Nothing) As WeightResolution

Parameters

value
Double

The numeric value that the extracted text denotes.

unit
WeightUnit

The weight Unit of measurement.

Returns

A new WeightResolution instance for mocking.

Applies to