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-07 07:50:45 +0300
committerRoy Ben Shabat <roy.mail.net@gmail.com>2025-09-07 07:50:45 +0300
commit4c3213995aa079b6c5e14e5bb9e6769ba6e82845 (patch)
treec2829473749be99af8d164803fcca70dad975cc9 /Software/Visual_Studio_22/Tango.Portal.Chat.Web/Models
parent9ba1902ee9dbac3b3c48d735b3bbcc3ba867dd2e (diff)
downloadTango-4c3213995aa079b6c5e14e5bb9e6769ba6e82845.tar.gz
Tango-4c3213995aa079b6c5e14e5bb9e6769ba6e82845.zip
Dynamic developer instructions using Azure table.
Diffstat (limited to 'Software/Visual_Studio_22/Tango.Portal.Chat.Web/Models')
-rw-r--r--Software/Visual_Studio_22/Tango.Portal.Chat.Web/Models/AIInstruction.cs16
-rw-r--r--Software/Visual_Studio_22/Tango.Portal.Chat.Web/Models/ChatConversationMessage.cs1
-rw-r--r--Software/Visual_Studio_22/Tango.Portal.Chat.Web/Models/Options.cs5
3 files changed, 22 insertions, 0 deletions
diff --git a/Software/Visual_Studio_22/Tango.Portal.Chat.Web/Models/AIInstruction.cs b/Software/Visual_Studio_22/Tango.Portal.Chat.Web/Models/AIInstruction.cs
new file mode 100644
index 000000000..52f566e00
--- /dev/null
+++ b/Software/Visual_Studio_22/Tango.Portal.Chat.Web/Models/AIInstruction.cs
@@ -0,0 +1,16 @@
+using Azure;
+using Azure.Data.Tables;
+
+namespace Tango.Portal.Chat.Web.Models
+{
+ public class AIInstruction : ITableEntity
+ {
+ public string PartitionKey { get; set; } = "Instructions";
+ public string RowKey { get; set; } = string.Empty;
+ public DateTimeOffset? Timestamp { get; set; }
+ public ETag ETag { get; set; }
+ public string Instruction { get; set; } = string.Empty;
+ public DateTime CreatedAt { get; set; }
+ public string CreatedBy { get; set; } = string.Empty;
+ }
+} \ No newline at end of file
diff --git a/Software/Visual_Studio_22/Tango.Portal.Chat.Web/Models/ChatConversationMessage.cs b/Software/Visual_Studio_22/Tango.Portal.Chat.Web/Models/ChatConversationMessage.cs
index 3c056a922..865935230 100644
--- a/Software/Visual_Studio_22/Tango.Portal.Chat.Web/Models/ChatConversationMessage.cs
+++ b/Software/Visual_Studio_22/Tango.Portal.Chat.Web/Models/ChatConversationMessage.cs
@@ -13,5 +13,6 @@ namespace Tango.Portal.Chat.Web.Models
public string Classification { get; set; } = string.Empty;
public string Message { get; set; } = string.Empty;
public string Provider { get; set; } = string.Empty;
+ public string Assumptions { get; set; } = string.Empty;
}
}
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 6c6a537d6..9ae05da3d 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
@@ -35,4 +35,9 @@ namespace Tango.Portal.Chat.Web.Services
public string ClientId { get; set; } = string.Empty;
public string ClientSecret { get; set; } = string.Empty;
}
+
+ public sealed class AzureStorageOptions
+ {
+ public string ConnectionString { get; set; } = string.Empty;
+ }
}