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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET