Extensions.TryFindEntity(LuisResult, String, EntityRecommendation) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Try to find an entity within the result.
public static bool TryFindEntity (this Microsoft.Bot.Builder.Luis.Models.LuisResult result, string type, out Microsoft.Bot.Builder.Luis.Models.EntityRecommendation entity);
static member TryFindEntity : Microsoft.Bot.Builder.Luis.Models.LuisResult * string * EntityRecommendation -> bool
<Extension()>
Public Function TryFindEntity (result As LuisResult, type As String, ByRef entity As EntityRecommendation) As Boolean
Parameters
- result
- LuisResult
The LUIS result.
- type
- String
The entity type.
- entity
- EntityRecommendation
The found entity.
Returns
True if the entity was found, false otherwise.