aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio_22/Tango.Portal.Chat.Web/Program.cs
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/Program.cs
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/Program.cs')
-rw-r--r--Software/Visual_Studio_22/Tango.Portal.Chat.Web/Program.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/Software/Visual_Studio_22/Tango.Portal.Chat.Web/Program.cs b/Software/Visual_Studio_22/Tango.Portal.Chat.Web/Program.cs
index 41402c527..380a9607b 100644
--- a/Software/Visual_Studio_22/Tango.Portal.Chat.Web/Program.cs
+++ b/Software/Visual_Studio_22/Tango.Portal.Chat.Web/Program.cs
@@ -15,6 +15,10 @@ builder.Services.AddSingleton<KustoQueryService>();
builder.Services.AddSingleton<ChatMessageLogger>();
builder.Services.AddSingleton<SchemaRegistry>();
builder.Services.AddSingleton<KqlGuard>();
+
+// Azure Storage config
+builder.Services.Configure<AzureStorageOptions>(builder.Configuration.GetSection("AzureStorage"));
+builder.Services.AddSingleton<AIInstructionService>();
builder.Services.AddSession();
// Simple HTTP client for LLM