aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio_22/Tango.Portal.Chat.Web/Models
diff options
context:
space:
mode:
authorRoy Ben Shabat <roy.mail.net@gmail.com>2025-09-03 00:06:46 +0300
committerRoy Ben Shabat <roy.mail.net@gmail.com>2025-09-03 00:06:46 +0300
commite91dd4d23647947b2c14787605b55400a405cff3 (patch)
treec1bb8fd60eb3923376573b63f8870e74f9828f5c /Software/Visual_Studio_22/Tango.Portal.Chat.Web/Models
parent12184412615b52ae98cba57921a7586e6970c436 (diff)
downloadTango-e91dd4d23647947b2c14787605b55400a405cff3.tar.gz
Tango-e91dd4d23647947b2c14787605b55400a405cff3.zip
Twine AI.
Diffstat (limited to 'Software/Visual_Studio_22/Tango.Portal.Chat.Web/Models')
-rw-r--r--Software/Visual_Studio_22/Tango.Portal.Chat.Web/Models/Contracts.cs6
-rw-r--r--Software/Visual_Studio_22/Tango.Portal.Chat.Web/Models/FlexibleStringListConverter.cs2
-rw-r--r--Software/Visual_Studio_22/Tango.Portal.Chat.Web/Models/Options.cs2
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
{