From c9dda29e5351dd194b934a60817d2da0c69633d6 Mon Sep 17 00:00:00 2001 From: Oceania2018 Date: Thu, 21 Jun 2018 20:10:20 -0500 Subject: [PATCH] add conversation debug log --- BotSharp.Core/BotSharp.Core.csproj | 13 +++++++++---- BotSharp.Core/Engines/RequestExtension.cs | 2 ++ 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/BotSharp.Core/BotSharp.Core.csproj b/BotSharp.Core/BotSharp.Core.csproj index 0e69260c..b73445d2 100644 --- a/BotSharp.Core/BotSharp.Core.csproj +++ b/BotSharp.Core/BotSharp.Core.csproj @@ -13,18 +13,23 @@ Haiping Chen BotSharp.Core - Upgrade .Net Core to 2.1 + Open source chatbot platform written in C#. Ready for enterprise. MIT https://github.com/Oceania2018/BotSharp NLU, Chatbot, Bot, AI Bot - 1.2.0 - Support Rasa NLU 0.12.x + 1.3.0 + Add NLP pipeline. Support training model by input context. Since 2018 Haiping Chen https://github.com/Oceania2018/BotSharp + 1.3.0.0 - TRACE;DEBUG;MODEL_PER_CONTEXTS + TRACE;MODEL_PER_CONTEXTS;NETCOREAPP;NETCOREAPP2_1 + + + + TRACE;MODEL_PER_CONTEXTS diff --git a/BotSharp.Core/Engines/RequestExtension.cs b/BotSharp.Core/Engines/RequestExtension.cs index b271f9ea..f65c6edc 100644 --- a/BotSharp.Core/Engines/RequestExtension.cs +++ b/BotSharp.Core/Engines/RequestExtension.cs @@ -36,6 +36,8 @@ namespace BotSharp.Core.Engines #else var result = CallRasa(rasa.agent.Id, request.Query.First(), rasa.agent.Id); #endif + result.Content.Log(); + RasaResponse response = result.Data; aiResponse.Id = Guid.NewGuid().ToString(); aiResponse.Lang = rasa.agent.Language;