From f83b4863920ab1e4bc3c011cddf1f483a5413bf0 Mon Sep 17 00:00:00 2001 From: Howard Lin Date: Fri, 27 Oct 2023 10:20:52 +0800 Subject: [PATCH] Expose LU json --- src/cs/IntentRecognition/CLURecognizerService.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cs/IntentRecognition/CLURecognizerService.cs b/src/cs/IntentRecognition/CLURecognizerService.cs index 605968be..2dc206cc 100644 --- a/src/cs/IntentRecognition/CLURecognizerService.cs +++ b/src/cs/IntentRecognition/CLURecognizerService.cs @@ -75,6 +75,8 @@ public void ParseCLUJsonResponseStream(Stream stream, out string intentId, out D JsonElement prediction = responseTaskResult.GetProperty("result").GetProperty("prediction"); JsonElement projectKind = prediction.GetProperty("projectKind"); + entities["__LU__.json"] = responseTaskResult.ToString(); + if (projectKind.GetString() == "Orchestration") { var respondingProjectName = prediction.GetProperty("topIntent").GetString();