QuestionAnsweringModelFactory.AnswerSpan 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 AnswerSpan.
public static Azure.AI.Language.QuestionAnswering.AnswerSpan AnswerSpan (string text = default, double? confidence = default, int? offset = default, int? length = default);
static member AnswerSpan : string * Nullable<double> * Nullable<int> * Nullable<int> -> Azure.AI.Language.QuestionAnswering.AnswerSpan
Public Shared Function AnswerSpan (Optional text As String = Nothing, Optional confidence As Nullable(Of Double) = Nothing, Optional offset As Nullable(Of Integer) = Nothing, Optional length As Nullable(Of Integer) = Nothing) As AnswerSpan
Parameters
- text
- String
Predicted text of answer span.
Returns
A new AnswerSpan instance for mocking.
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for .NET