Partager via


PredictionResult Class

Definition

The class represents the prediction result from a predictor.

public sealed class PredictionResult
[System.Runtime.CompilerServices.Nullable(0)]
[System.Runtime.CompilerServices.NullableContext(1)]
public sealed class PredictionResult
type PredictionResult = class
[<System.Runtime.CompilerServices.Nullable(0)>]
[<System.Runtime.CompilerServices.NullableContext(1)>]
type PredictionResult = class
Public NotInheritable Class PredictionResult
Inheritance
PredictionResult
Attributes

Properties

Id

Gets the Id of the predictor.

Name

Gets the name of the predictor.

Session

Gets the mini-session id that represents a specific invocation to the GetSuggestion(PredictionClient, PredictionContext, CancellationToken) API of the predictor. When it's not specified, it's considered by a client that the predictor doesn't expect feedback.

Suggestions

Gets the suggestions.

Applies to