InferenceModelFactory.SentenceScore(Int32, Single) 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.
A sentence-level relevance score for a submitted document.
public static Azure.Data.AI.SentenceScore SentenceScore(int index = 0, float score = 0);
static member SentenceScore : int * single -> Azure.Data.AI.SentenceScore
Public Shared Function SentenceScore (Optional index As Integer = 0, Optional score As Single = 0) As SentenceScore
Parameters
- index
- Int32
The zero-based position of the sentence in the document.
- score
- Single
The relevance score assigned to the sentence.
Returns
A new SentenceScore instance for mocking.