## WORKSPACE EXECUTIVE SUMMARY (YAML)
# Generated: 2026-05-16T15:21:43.3363122+02:00
# Root: E:\ollama_net\ollama\AuthorBuddy.Web
Architecture:
  Type: Backend (C#/.NET)
  Scale: 25 relevant source files
  Components: 0
  Controllers: 0
  Models: 6
  Services: 8
---
- File: AuthorBuddy.Web.csproj
  Preview: "<Project Sdk='Microsoft.NET.Sdk.Web'>  <PropertyGroup>   <TargetFramework>net10.0</TargetFramework>   <Nullable>enable</Nullable>   <ImplicitUsings>en..."
- File: appsettings.Development.json
  Preview: "{  'Logging': {   'LogLevel': {    'Default': 'Information',    'Microsoft.AspNetCore': 'Warning'   }  } } "
- File: appsettings.json
  Preview: "{  'Logging': {   'LogLevel': {    'Default': 'Information',    'Microsoft.AspNetCore': 'Warning'   }  },  'AllowedHosts': '*' } "
- File: AuthorBuddy.Web.slnx
  Preview: "<Solution>  <Project Path='AuthorBuddy.Web.csproj' /> </Solution> "
- File: Program.cs
  Preview: "using AuthorBuddy.Web.Components; using AuthorBuddy.Web.Data; using AuthorBuddy.Web.Models; using AuthorBuddy.Web.Services; using Microsoft.EntityFram..."
- File: Data\AppDbContext.cs
  Symbols: [AppDbContext]
  Preview: "using Microsoft.Data.Sqlite; using Microsoft.EntityFrameworkCore; namespace AuthorBuddy.Web.Data; public class AppDbContext : DbContext {   public DbS..."
- File: Data\DocumentMetaEntity.cs
  Symbols: [DocumentMetaEntity]
  Preview: "using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace AuthorBuddy.Web.Data; [Table('DocumentMeta'..."
- File: Data\ProjectEntity.cs
  Symbols: [ProjectEntity]
  Preview: "using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace AuthorBuddy.Web.Data; [Table('Projects')] p..."
- File: Data\SettingEntity.cs
  Symbols: [SettingEntity]
  Preview: "using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace AuthorBuddy.Web.Data; [Table('Settings')] p..."
- File: Models\Chapter.cs
  Symbols: [Chapter]
  Preview: "namespace AuthorBuddy.Web.Models; public class Chapter {   public string Title { get; set; } = string.Empty;   public string FilePath { get; set; } = ..."
- File: Models\Constants.cs
  Symbols: [Constants]
  Preview: "namespace AuthorBuddy.Web.Models; public static class Constants {   public static readonly string[] SubFolders = {     '00_Drafts',     '01_Fakten/Per..."
- File: Models\LLM_Model.cs
  Symbols: [LLM_Model, LLM_Model]
  Preview: "using System.Text.Json; namespace AuthorBuddy.Web.Models {   public class LLM_Model   {       public LLM_Model(JsonElement model)     {       if (mode..."
- File: Models\ModelStatus.cs
  Symbols: [ModelStatus]
  Preview: " //namespace AuthorBuddy.Web.Models; //public class ModelStatus //{ //  public string Status { get; private set; } = 'Unknown'; //  public double Prog..."
- File: Models\OllamaSettings.cs
  Symbols: [OllamaSettings]
  Preview: "namespace AuthorBuddy.Web.Models; public class OllamaSettings {   public string ChatModel { get; set; } = 'llama3.2';   public string EmbedModel { get..."
- File: Models\Project.cs
  Symbols: [Project]
  Preview: "namespace AuthorBuddy.Web.Models; public class Project {   public int Id { get; internal set; }   public string Name { get; internal set; } = string.E..."
- File: Properties\launchSettings.json
  Preview: "{  '$schema': 'https://json.schemastore.org/launchsettings.json',   'profiles': {    'http': {     'commandName': 'Project',     'dotnetRunMessages': ..."
- File: Services\FileScannerService.cs
  Symbols: [FileScannerService]
  Preview: "using AuthorBuddy.Web.Data; using Microsoft.Data.Sqlite; using Microsoft.EntityFrameworkCore; namespace AuthorBuddy.Web.Services; public class FileSca..."
- File: Services\IFileScannerService.cs
  Symbols: [IFileScannerService]
  Preview: "namespace AuthorBuddy.Web.Services; public interface IFileScannerService {   Task ScanProjectFolderAsync(int projectId, string rootPath, IProgress<str..."
- File: Services\IOllamaService.cs
  Symbols: [IOllamaService, IOllamaService]
  Preview: " using AuthorBuddy.Web.Models; namespace AuthorBuddy.Web.Services; public interface IOllamaService {   Task<IEnumerable<LLM_Model>> GetLocalModelsAsyn..."
- File: Services\IProjectService.cs
  Symbols: [IProjectService]
  Preview: "using AuthorBuddy.Web.Models; namespace AuthorBuddy.Web.Services; public interface IProjectService {   Task<int> CreateNewProjectAsync(string projectN..."
- File: Services\ISettingsService.cs
  Symbols: [ISettingsService]
  Preview: "namespace AuthorBuddy.Web.Services; public interface ISettingsService {   Task<string?> GetAsync(string key);   Task SaveAsync(Dictionary<string, stri..."
- File: Services\OllamaService.cs
  Symbols: [ChatStream, OllamaService, OllamaService, OllamaService, GetLocalModelsAsync, DeleteModel, ExtractResponseText, PullModelAsync, catch, catch, catch, catch, Chat, Reconfigure]
  Preview: "using AuthorBuddy.Web.Models; using System.Net.Http.Json; using System.Text.Json; namespace AuthorBuddy.Web.Services; public class OllamaService : IOl..."
- File: Services\ProjectService.cs
  Symbols: [ProjectService]
  Preview: "using AuthorBuddy.Web.Data; using AuthorBuddy.Web.Models; using Microsoft.EntityFrameworkCore; namespace AuthorBuddy.Web.Services; public class Projec..."
- File: Services\SettingsService.cs
  Symbols: [SettingsService]
  Preview: "using AuthorBuddy.Web.Data; using AuthorBuddy.Web.Models; using Microsoft.EntityFrameworkCore; using Microsoft.JSInterop; using static System.Runtime...."
- File: Components\Layout\ReconnectModal.razor.js
  Preview: "// Set up event handlers const reconnectModal = document.getElementById('components-reconnect-modal'); reconnectModal.addEventListener('components-rec..."
