@using BLAIzor.Models
@using BLAIzor.Services
@using Newtonsoft.Json
@using BLAIzor.Components.Partials
@using System.Collections.ObjectModel
@inject ContentEditorService ContentEditorService
@inject ContentEditorAIService ContentEditorAIService
@inject HtmlSnippetProcessor HtmlSnippetProcessor
@inject QDrantService QDrantService
@inject IJSRuntime JSRuntime
@if (isLoading)
{
Loading suggestions...
}
else if (extractedMenuItems.Any())
{
Suggested Menu Items
}
else if (!string.IsNullOrEmpty(errorMessage))
{
@errorMessage
}
@code {
[Parameter]
public int SiteId { get; set; }
[Parameter]
public string SessionId { get; set; }
private string subject = string.Empty;
ObservableCollection