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
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET