diff options
Diffstat (limited to 'Software/Visual_Studio_22/Tango.Portal.Chat.Web/Models')
3 files changed, 7 insertions, 3 deletions
diff --git a/Software/Visual_Studio_22/Tango.Portal.Chat.Web/Models/Contracts.cs b/Software/Visual_Studio_22/Tango.Portal.Chat.Web/Models/Contracts.cs index d968d0738..c681e2cee 100644 --- a/Software/Visual_Studio_22/Tango.Portal.Chat.Web/Models/Contracts.cs +++ b/Software/Visual_Studio_22/Tango.Portal.Chat.Web/Models/Contracts.cs @@ -1,7 +1,7 @@ using System.Collections.Generic; using System.Text.Json.Serialization; -namespace ChatADX.Web.Models +namespace Tango.Portal.Chat.Web.Models { public sealed class ProposeKqlResult { @@ -24,6 +24,9 @@ namespace ChatADX.Web.Models [JsonPropertyName("assistant")] public string Assistant { get; set; } = string.Empty; + + [JsonPropertyName("conversation")] + public string ConversationAnswer { get; set; } = String.Empty; } public sealed class ChatMessage @@ -31,6 +34,7 @@ namespace ChatADX.Web.Models // "user" | "assistant" public string Role { get; set; } = "user"; public string Content { get; set; } = string.Empty; + public String UsedKql { get; set; } = String.Empty; } public sealed class ChatRequest diff --git a/Software/Visual_Studio_22/Tango.Portal.Chat.Web/Models/FlexibleStringListConverter.cs b/Software/Visual_Studio_22/Tango.Portal.Chat.Web/Models/FlexibleStringListConverter.cs index 92bfffe36..162ffd070 100644 --- a/Software/Visual_Studio_22/Tango.Portal.Chat.Web/Models/FlexibleStringListConverter.cs +++ b/Software/Visual_Studio_22/Tango.Portal.Chat.Web/Models/FlexibleStringListConverter.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; -namespace ChatADX.Web.Models +namespace Tango.Portal.Chat.Web.Models { public sealed class FlexibleStringListConverter : JsonConverter<List<string>> { diff --git a/Software/Visual_Studio_22/Tango.Portal.Chat.Web/Models/Options.cs b/Software/Visual_Studio_22/Tango.Portal.Chat.Web/Models/Options.cs index f59ffa8d7..bfd8fdaf5 100644 --- a/Software/Visual_Studio_22/Tango.Portal.Chat.Web/Models/Options.cs +++ b/Software/Visual_Studio_22/Tango.Portal.Chat.Web/Models/Options.cs @@ -1,4 +1,4 @@ -namespace ChatADX.Web.Services +namespace Tango.Portal.Chat.Web.Services { public sealed class LlmOptions { |
