thtaai 1.0.9

dotnet add package thtaai --version 1.0.9
                    
NuGet\Install-Package thtaai -Version 1.0.9
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="thtaai" Version="1.0.9" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="thtaai" Version="1.0.9" />
                    
Directory.Packages.props
<PackageReference Include="thtaai" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add thtaai --version 1.0.9
                    
#r "nuget: thtaai, 1.0.9"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package thtaai@1.0.9
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=thtaai&version=1.0.9
                    
Install as a Cake Addin
#tool nuget:?package=thtaai&version=1.0.9
                    
Install as a Cake Tool

ThtaAi — AI Content Generation for Umbraco

ThtaAi adds AI-powered content generation directly into the Umbraco 17 backoffice, using a local LLM (e.g. Ollama) or another external LLM API, so your content and prompts never leave your own infrastructure.

It provides AI-assisted property editors, a rich text editor toolbar extension, and a full AI Page Generation tool that can scaffold entire content pages — document type, blocks, and all — from a single natural-language prompt.

Features

  • AI Textstring / AI Textarea — property editors with a "Generate" button that opens a chat-style modal for iterative content drafting.
  • AI Rich Text Editor extension — a Tiptap toolbar button that generates and inserts content at the current cursor position, without leaving the editor.
  • AI Image — generates several image variations from a text prompt, sourced from Pixabay, so editors can pick the closest match.
  • AI Page Generation — analyses your site's document types and block structures, then generates a complete unpublished page from a prompt, ready for editorial review.

Prerequisites

  • Umbraco CMS 17
  • Umbraco Delivery API Enabled
  • Ollama running and reachable from your Umbraco site, with a chat-capable model pulled (we've had the best results with qwen2.5:7b)
  • Optional: a Pixabay API key if you want the AI Image editor to return results

Installation

dotnet add package thtaai

Then add configuration to your project's appsettings.json (see below) and restart the site. The property editors and the AI Generation backoffice section become available immediately — no further setup required.

Configuration

Add an AiGeneration section to appsettings.json:

{
  "AiGeneration": {
    "BaseUrl": "http://localhost:11434",
    "ApiKey": "",
    "Model": "qwen2.5:7b",
    "TimeoutSeconds": 300,
    "PixabayKey": "YOUR_PIXABAY_API_KEY"
  }
}
Option Description
BaseUrl Endpoint of your LLM instance (or any OpenAI-compatible chat completions endpoint).
ApiKey Auth key for the LLM endpoint, if required. Leave empty for a local LLM instance with no auth.
Model The model to use for generation. Must already be pulled on the LLM instance.
TimeoutSeconds Maximum time allowed per request before it's aborted.
PixabayKey Auth key for AI Image's stock photo search. Leave empty to disable the AI Image editor.

If BaseUrl is left unset, generation requests will fail with a clear configuration error rather than a silent timeout.

How It Works

  1. Assign an AI property editor (Textstring, Textarea, Rich Text extension, or Image) to a Data Type.
  2. In the backoffice, click Generate on that field.
  3. A chat-style modal opens — describe what you want in plain language and refine it iteratively.
  4. Click Insert to place the result into the field, then save and publish as normal.

Each time the modal opens, a fresh conversation begins server-side, so context from a previous editing session never bleeds into a new one.

AI Page Generation

For generating whole pages rather than individual fields, use the AI Generation section in the backoffice:

  1. The extension inspects your site's document types, Block List / Block Grid configurations, and available block types to build a schema of what content structures exist.
  2. You describe the page you want and pick a parent page for it to be created under.
  3. The model generates a full page — including nested blocks where applicable — conforming to your existing content architecture.
  4. The page is created unpublished, so an editor can review, adjust, and publish it through Umbraco's normal workflow.

Because generation is schema-aware, output aligns with your site's actual document types and property editors rather than requiring manual restructuring afterwards.

Prompt Handling

You don't need to write carefully engineered prompts. Plain natural-language input is automatically restructured before being sent to the model, with system-level guidance applied for tone, formatting, and CMS-appropriate content length, and prior conversation turns included for continuity.

Contributing

Build instructions and architecture notes for contributors live in CONTRIBUTING.md.

License

MIT

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.9 76 7/8/2026
1.0.8 73 7/8/2026
1.0.7 74 7/8/2026
1.0.6 72 7/8/2026
1.0.5 77 7/7/2026
1.0.2 79 7/7/2026
1.0.1 81 7/7/2026
1.0.0 83 7/6/2026