diff options
Diffstat (limited to 'Software/Visual_Studio_22/Tango.Portal.Chat.Web/Models')
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; + } } |
