ConversationsModelFactory.CurrencyResolution(String, Double, String) Method
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.
Initializes a new instance of CurrencyResolution.
public static Azure.AI.Language.Conversations.Models.CurrencyResolution CurrencyResolution (string iso4217 = default, double value = 0, string unit = default);
static member CurrencyResolution : string * double * string -> Azure.AI.Language.Conversations.Models.CurrencyResolution
Public Shared Function CurrencyResolution (Optional iso4217 As String = Nothing, Optional value As Double = 0, Optional unit As String = Nothing) As CurrencyResolution
Parameters
- iso4217
- String
The alphabetic code based on another ISO standard, ISO 3166, which lists the codes for country names. The first two letters of the ISO 4217 three-letter code are the same as the code for the country name, and, where possible, the third letter corresponds to the first letter of the currency name.
- value
- Double
The money amount captured in the extracted entity.
- unit
- String
The unit of the amount captured in the extracted entity.
Returns
A new CurrencyResolution instance for mocking.
Applies to
Azure SDK for .NET