SuggestionPackage Struct

Definition

public struct SuggestionPackage
[System.Runtime.CompilerServices.Nullable(0)]
[System.Runtime.CompilerServices.NullableContext(1)]
public struct SuggestionPackage
type SuggestionPackage = struct
[<System.Runtime.CompilerServices.Nullable(0)>]
[<System.Runtime.CompilerServices.NullableContext(1)>]
type SuggestionPackage = struct
Public Structure SuggestionPackage
Inheritance
SuggestionPackage
Attributes

Constructors

SuggestionPackage(List<PredictiveSuggestion>)

Initializes a new instance of the SuggestionPackage struct without providing a session id. Note that, when a session id is not specified, it's considered by a client that the predictor doesn't expect feedback.

SuggestionPackage(UInt32, List<PredictiveSuggestion>)

Initializes a new instance of the SuggestionPackage struct with the mini-session id and the suggestions.

Properties

Session

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

SuggestionEntries

Gets the suggestion entries returned from that mini-session.

Applies to