Exemple #1
0
 private static TextDeconstructionInformation CreateInformation(LuisClient.QueryResponse response) =>
 new TextDeconstructionInformation(
     response.Query,
     response.TopScoringIntent.Intent,
     SentenceTypes.Unknown,
     EntitiesToDictoinary(response.Entities),
     null,
     response.TopScoringIntent.Score);
Exemple #2
0
 private static TextDeconstructionInformation CreateInformationIfTopScore(LuisClient.QueryResponse response) =>
 response.TopScoringIntent.Score < 0.75 ? null : CreateInformation(response);