FirstSaliencyStrategy
Class in Yarn.Saliency
Inherits from System.Object
Summary
A content saliency strategy that always returns the first non-failing item in the list of available options.
public class FirstSaliencyStrategy : IContentSaliencyStrategyRemarks
This saliency strategy is used when a Dialogue has no provided saliency strategy, but is required to make a decision.
Methods
| Name | Description |
|---|---|
| ContentWasSelected(ContentSaliencyOption) | Called by Yarn Spinner to indicate that a piece of salient content has been selected, and this system should update any state related to how it selects content. |
| QueryBestContent(IEnumerable | Chooses an item from content that is the most appropriate (or salient ) for the user’s current context. |