Share via


LuisIntentScorable<InnerState,InnerScore> Class

Definition

Scorable to represent a specific LUIS intent recommendation.

[System.Serializable]
public sealed class LuisIntentScorable<InnerState,InnerScore> : Microsoft.Bot.Builder.Scorables.Internals.ResolverScorable<Microsoft.Bot.Builder.Scorables.Internals.LuisIntentScorable<InnerState,InnerScore>.Scope,Microsoft.Bot.Builder.Luis.Models.IntentRecommendation,InnerState,InnerScore>
[<System.Serializable>]
type LuisIntentScorable<'InnerState, 'InnerScore> = class
    inherit ResolverScorable<LuisIntentScorable<'InnerState, 'InnerScore>.Scope, IntentRecommendation, 'InnerState, 'InnerScore>
Public NotInheritable Class LuisIntentScorable(Of InnerState, InnerScore)
Inherits ResolverScorable(Of LuisIntentScorable(Of InnerState, InnerScore).Scope, IntentRecommendation, InnerState, InnerScore)

Type Parameters

InnerState
InnerScore
Inheritance
ScorableBase<OuterItem,OuterState,OuterScore>
ScorableAggregator<IResolver,OuterState,OuterScore,IResolver,InnerState,InnerScore>
ResolverScorable<LuisIntentScorable<InnerState,InnerScore>.Scope,IntentRecommendation,InnerState,InnerScore>
LuisIntentScorable<InnerState,InnerScore>
Attributes

Constructors

LuisIntentScorable<InnerState,InnerScore>(ILuisService, ILuisModel, LuisIntentAttribute, IScorable<IResolver,InnerScore>)

Fields

inner (Inherited from ResolverScorable<OuterState,OuterScore,InnerState,InnerScore>)

Methods

DoneAsync(OuterItem, OuterState, CancellationToken) (Inherited from ScorableAggregator<OuterItem,OuterState,OuterScore,InnerItem,InnerState,InnerScore>)
GetScore(Item, State) (Inherited from ScorableBase<Item,State,Score>)
HasScore(OuterItem, OuterState) (Inherited from ScorableAggregator<OuterItem,OuterState,OuterScore,InnerItem,InnerState,InnerScore>)
PostAsync(OuterItem, OuterState, CancellationToken) (Inherited from ScorableAggregator<OuterItem,OuterState,OuterScore,InnerItem,InnerState,InnerScore>)
PrepareAsync(Item, CancellationToken) (Inherited from ScorableBase<Item,State,Score>)
ToString()

Explicit Interface Implementations

IScorable<Item,Score>.DoneAsync(Item, Object, CancellationToken) (Inherited from ScorableBase<Item,State,Score>)
IScorable<Item,Score>.GetScore(Item, Object) (Inherited from ScorableBase<Item,State,Score>)
IScorable<Item,Score>.HasScore(Item, Object) (Inherited from ScorableBase<Item,State,Score>)
IScorable<Item,Score>.PostAsync(Item, Object, CancellationToken) (Inherited from ScorableBase<Item,State,Score>)
IScorable<Item,Score>.PrepareAsync(Item, CancellationToken) (Inherited from ScorableBase<Item,State,Score>)

Extension Methods

SelectItem<SourceItem,TargetItem,Score>(IScorable<TargetItem,Score>, Func<SourceItem,TargetItem>)

Project the item of a scorable using a lambda expression.

SelectScore<Item,SourceScore,TargetScore>(IScorable<Item,SourceScore>, Func<Item,SourceScore,TargetScore>)

Project the score of a scorable using a lambda expression.

TryPostAsync<Item,Score>(IScorable<Item,Score>, Item, CancellationToken)

Invoke the scorable calling protocol against a single scorable.

WhereScore<Item,Score>(IScorable<Item,Score>, Func<Item,Score,Boolean>)

Applies to