feat(search/rag): implement NexusSearchBox, dynamic Qdrant collection auto-provisioning, batch vector ingestion, mobile Serilog logging, and resolve 401 auth handler error #51

Merged
mjasin merged 10 commits from feat/nexus-search-box into develop 2026-05-26 12:15:29 +00:00
Showing only changes of commit 9d396570aa - Show all commits
@@ -6,6 +6,8 @@
@using System.Net.Http.Json
@inject HttpClient Http
@inject IKnowledgeService KnowledgeService
@inject AuthenticationStateProvider AuthStateProvider
<div class="intelligence-page">
<header class="intelligence-header">
@@ -422,7 +424,10 @@
ebookId = parsedId;
}
var result = await KnowledgeService.AskQuestionAsync(_question, "tenantId", ebookId);
var authState = await AuthStateProvider.GetAuthenticationStateAsync();
var tenantId = authState.User.FindFirst("TenantId")?.Value ?? "global";
var result = await KnowledgeService.AskQuestionAsync(_question, tenantId, ebookId);
if (result.IsSuccess)
{
_response = result.Value;