Share via


ConversationsModelFactory.NumberResolution(NumberKind, Double) Method

Definition

Initializes a new instance of NumberResolution.

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

Parameters

numberKind
NumberKind

The type of the extracted number entity.

value
Double

A numeric representation of what the extracted text denotes.

Returns

A new NumberResolution instance for mocking.

Applies to