Share via


Scorer Struct

Definition

Type of scorer to be used.

public readonly struct Scorer : IEquatable<Azure.AI.Language.QuestionAnswering.Inference.Scorer>
type Scorer = struct
Public Structure Scorer
Implements IEquatable(Of Scorer)
Inheritance
Scorer
Implements

Constructors

Name Description
Scorer(String)

Initializes a new instance of Scorer.

Properties

Name Description
Classic

Set this value for scoring based on classic algorithms like wordnet, tfidf, ngram etc.

Semantic

Set this scorer to use AI search semantic based ranking. Semantic ranking should be configured for this to be used.

Transformer

Set this value for scoring based on transformer based models.

Methods

Name Description
Equals(Scorer)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Name Description
Equality(Scorer, Scorer)

Determines if two Scorer values are the same.

Implicit(String to Scorer)

Converts a String to a Scorer.

Inequality(Scorer, Scorer)

Determines if two Scorer values are not the same.

Applies to