private static ICharacter ExtractCharacterFrom(RecognitionResultDto intentDto) { return(GetCharacter(intentDto.Entities.First(e => e.Type == "CharacterName"))); }
private static IEnumerable <string> EntityValuesIn(RecognitionResultDto intentDto) { return(intentDto.Entities.Select(e => e.Entity)); }