Skip to content

Commit 4db0bab

Browse files
committed
update
1 parent 9b343a4 commit 4db0bab

13 files changed

Lines changed: 97 additions & 15 deletions

MyApp/Pages/Index.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<a href="whatsnew" class="inline-flex space-x-6">
4949
<span class="rounded-full bg-indigo-500/10 dark:bg-indigo-400/10 px-3 py-1 text-sm font-semibold leading-6 text-indigo-400 ring-1 ring-inset ring-indigo-500/20">What's new</span>
5050
<span class="inline-flex items-center space-x-2 text-sm font-medium leading-6 text-gray-300">
51-
<span>Just shipped v8.9</span>
51+
<span>Just shipped v8.10</span>
5252
<svg class="h-5 w-5 text-gray-500" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
5353
<path fill-rule="evenodd" d="M7.21 14.77a.75.75 0 01.02-1.06L11.168 10 7.23 6.29a.75.75 0 111.04-1.08l4.5 4.25a.75.75 0 010 1.08l-4.5 4.25a.75.75 0 01-1.06-.02z" clip-rule="evenodd" />
5454
</svg>

MyApp/_posts/2025-11-13_react.md

Lines changed: 26 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -86,22 +86,28 @@ We're introducing three production-ready React templates, each optimized for dif
8686

8787
All three templates leverage our new [React Component Gallery](https://react.servicestack.net)—a high-fidelity port of our proven [Vue Component Library](https://docs.servicestack.net/vue/) and [Blazor Component Library](https://blazor.servicestack.net). This comprehensive collection provides everything needed to build highly productive, modern and responsive web applications.
8888

89-
<div class="not-prose">
90-
<a href="https://react.servicestack.net" class="block shadow-lg hover:shadow-xl">
91-
<img class="w-full" src="/img/posts/react/react-gallery.webp">
92-
</a>
93-
</div>
89+
:::{.not-prose}
90+
:::{.my-8 .max-w-3xl .mx-auto .rounded-lg .overflow-hidden .shadow .hover:shadow-xl}
91+
[![](/img/posts/react/react-gallery.webp)](https://react.servicestack.net)
92+
:::
93+
:::
9494

9595
Switch to Dark Mode to see how all components looks in Dark Mode:
9696

97-
<div class="not-prose">
98-
<a href="https://react.servicestack.net" class="block shadow-lg hover:shadow-xl">
99-
<img class="w-full" src="/img/posts/react/react-gallery-dark.webp">
100-
</a>
101-
</div>
97+
:::{.not-prose}
98+
:::{.my-8 .max-w-3xl .mx-auto .rounded-lg .overflow-hidden .shadow .hover:shadow-xl}
99+
[![](/img/posts/react/react-gallery-dark.webp)](https://react.servicestack.net)
100+
:::
101+
:::
102102

103103
ServiceStack's first-class React support positions your applications at the forefront of AI-assisted development. With declarative APIs, complete type safety, and minimal boilerplate, you can leverage AI code generation with confidence while maintaining the quality and maintainability your production systems demand.
104104

105+
## Admin Analytics UI & Persistence
106+
107+
ServiceStack's AI Chat now includes comprehensive chat history persistence and analytics capabilities, providing deep visibility into AI usage patterns, costs, and performance across your infrastructure. Choose between `DbChatStore` for universal RDBMS compatibility or `PostgresChatStore` for optimized PostgreSQL performance with monthly table partitioning—both ensuring consistent performance as history grows.
108+
109+
The Admin UI Analytics dashboard delivers actionable insights through three key views: **Cost Analysis** tracks spending across providers and models with daily and monthly breakdowns, **Token Usage** monitors input and output token consumption to identify optimization opportunities, and **Activity Log** maintains a searchable audit trail with full conversation details. These visualizations enable data-driven decisions about provider selection, cost optimization, and help debug AI features in production by capturing every request and response flowing through AI Chat's UI, external OpenAI endpoints, and internal `IChatStore` requests.
110+
105111
## TypeScript Data Models
106112

107113
As AI Models are not as adept at generating C# APIs or Migrations yet, they excel at generating TypeScript code, which our
@@ -121,9 +127,11 @@ This is enough to generate a complete CRUD UI to manage Bookings
121127
in your React App with the [React AutoQueryGrid Component](https://react.servicestack.net/gallery/autoquerygrid).
122128
or with ServiceStack's built-in [Locode UI](https://docs.servicestack.net/locode/):
123129

124-
:::{.wideshot}
130+
:::{.not-prose}
131+
:::{.my-8 .max-w-3xl .mx-auto .rounded-lg .overflow-hidden .shadow .hover:shadow-xl}
125132
[![](/img/posts/react/bookings-locode.webp)](https://docs.servicestack.net/locode/)
126133
:::
134+
:::
127135

128136
### Cheat Sheet
129137

@@ -186,7 +194,11 @@ There are a number of options for starting with an AI generated Application, wit
186194
If you're using [GitHub Copilot](https://copilot.github.com/) you can also use it to generate a new App
187195
[from the Vite React template ](https://github.com/new?template_name=react-vite&template_owner=NetCoreTemplates):
188196

197+
:::{.not-prose}
198+
:::{.my-8 .max-w-3xl .mx-auto .rounded-lg .overflow-hidden .shadow .hover:shadow-xl}
189199
[![](/img/posts/react/react-new-repo.webp)](https://github.com/new?template_name=react-vite&template_owner=NetCoreTemplates)
200+
:::
201+
:::
190202

191203
For the example, I've started with a useful App that I've never created before, a Budget Planner App, using the prompt:
192204

@@ -256,9 +268,11 @@ Claude Code to Implement Category Auto-Tagging with this prompt:
256268

257269
Which resulted in [this commit](https://github.com/mythz/budgets.apps.cafe/commit/e45a17b8dfd2b5983971554ced3e52ded6fa050e) which sees the feature available in the UI:
258270

259-
:::{.shadow}
271+
:::{.not-prose}
272+
:::{.my-8 .max-w-3xl .mx-auto .rounded-lg .overflow-hidden .shadow .hover:shadow-xl}
260273
![](/img/posts/react/budget/expense-tags-dark.webp)
261274
:::
275+
:::
262276

263277
Along with different seed data, tailored for Income and Expenses:
264278
- [categoryAutoTag.ts](https://github.com/mythz/budgets.apps.cafe/blob/main/MyApp.Client/src/lib/categoryAutoTag.ts)

MyApp/_posts/2025-11-17_typesense-ai-search.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ image: ./img/posts/typesense-ai-search/bg.webp
99
We're excited to announce the new Typesense-powered **AI Search**, a powerful new feature bringing
1010
conversational AI capabilities to [ServiceStack Docs](https://docs.servicestack.net).
1111

12+
:::{.not-prose}
13+
:::{.my-8 .max-w-3xl .mx-auto .rounded-lg .overflow-hidden .shadow .hover:shadow-xl}
1214
[![](/img/posts/typesense-ai-search/ai-search-default.webp)](https://docs.servicestack.net)
15+
:::
16+
:::
1317

1418
### Comprehensive Docs
1519

@@ -18,14 +22,21 @@ from core features to advanced integrations. While comprehensive documentation i
1822
quickly can be challenging. Traditional search works well when you know what you're looking for, but what about when you
1923
need to understand concepts, explore solutions, or learn how different features work together? That's where **AI Search** comes in.
2024

25+
:::{.not-prose}
26+
:::{.my-8 .max-w-2xl .mx-auto}
2127
[![](/img/posts/typesense-ai-search/ai-search-button.webp)](https://docs.servicestack.net)
22-
28+
:::
29+
:::
2330

2431
**AI Search** leverages Typesense's advanced [Conversational Search API](https://typesense.org/docs/29.0/api/conversational-search-rag.html)
2532
that uses Retrieval-Augmented Generation (RAG) of our docs combined with an LLM to provide intelligent, context-aware answers
2633
directly from our documentation.
2734

35+
:::{.not-prose}
36+
:::{.my-8 .max-w-3xl .mx-auto .rounded-lg .overflow-hidden .shadow .hover:shadow-xl}
2837
[![](/img/posts/typesense-ai-search/ai_search_add_servicestack_reference.webp)](https://docs.servicestack.net)
38+
:::
39+
:::
2940

3041
#### AI Search vs Instant Typesense Search
3142

MyApp/_whatsnew/2025-10-15_v8.9/rdbms-analytics.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
---
22
title: In Depth and Interactive API Analytics for PostgreSQL, SQL Server & MySQL
33
url: /posts/rdbms_analytics
4-
image: /img/whatsnew/v8.7/analytics-apis-splash.webp
4+
image: /img/whatsnew/v8.9/analytics.webp
55
order: 2
66
---
77

8+
89
Comprehensive **Request Logging & Analytics** is now available for **PostgreSQL**, **SQL Server**,
910
and **MySQL** with `DbRequestLogger` - a drop-in replacement unlocking deep, interactive API analytics
1011
previously limited to SQLite.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: FREE Gemini, Minimax, GLM 4.6, Kimi K2 in AI Chat
3+
url: https://docs.servicestack.net/ai-chat-analytics
4+
image: /img/whatsnew/v8.10/ai-chat-servicestack.webp
5+
order: 4
6+
---
7+
8+
ServiceStack now offers FREE access to premium AI models through the new `servicestack` OpenAI Chat provider. Get instant access to Google's Gemini Flash, Kimi K2 (with thinking mode), Minimax M2, GLM 4.6, and top open-source models including Llama 4 400B and Mistral Small 3.2—all without API keys or cloud accounts.
9+
10+
The lightweight AI Chat integration provides a unified provider abstraction through simple `llms.json` configuration, enabling seamless switching between providers without code changes. Mix local and cloud models, optimize for cost or performance, and ensure reliability with automatic failover—all with zero heavy dependencies.
11+
12+
Integration is effortless with the `IChatClient` dependency, supporting text, image, audio, and document inputs across compatible models. Free for personal use and development with a generous 60 requests/hour limit (replenishing at 1 request per minute). Requires any ServiceStack license key, including free or expired licenses.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: AI Chat history persistence and Admin Analytics UI
3+
url: https://docs.servicestack.net/ai-chat-analytics
4+
image: /img/whatsnew/v8.10/admin-chat-costs.webp
5+
order: 2
6+
---
7+
8+
ServiceStack's AI Chat now includes chat history persistence and analytics, providing visibility into AI usage patterns, costs, and performance. Maintain a complete audit trail of all AI interactions from the Chat UI, OpenAI endpoints, and internal `IChatStore` requests.
9+
10+
Choose between `DbChatStore` for universal RDBMS compatibility or `PostgresChatStore` for optimized PostgreSQL performance with monthly table partitioning. Both use indexed queries to ensure consistent performance as history grows.
11+
12+
The Admin UI Analytics dashboard provides three key views:
13+
- **Cost Analysis** - shows spending across providers and models
14+
- **Token Usage** - tracks consumption patterns
15+
- **Activity Log** - maintains an audit trail with full conversation details.
16+
17+
These insights enable data-driven decisions about provider selection, cost optimization, and help debug AI features in production.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: React Tailwind TypeScript for AI-First Development
3+
url: https://react.servicestack.net
4+
image: /img/posts/react/react-gallery-dark.webp
5+
order: 1
6+
---
7+
8+
First-class React support optimized for AI-assisted development with new React Component Library & Project Templates. React and Tailwind have emerged as de facto standards for AI-generated UIs, with every major platform converging on this UI. ServiceStack's architecture is uniquely suited for AI development with declarative typed APIs, unambiguious integrations and end-to-end type safety—giving AI models full context they need to generate high-quality code.
9+
10+
Three production-ready templates are now available:
11+
- **react-vite** (lightweight foundation)
12+
- **react-spa** (comprehensive SPA with ASP.NET Core Identity)
13+
- **nextjs** (server-side rendering).
14+
15+
All leverage the new [React Component Gallery](https://react.servicestack.net)—a high-fidelity port of our proven Vue and Blazor libraries, providing everything needed to build modern, responsive web applications with minimal code.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: Ask ServiceStack Docs - Introducing AI Search
3+
url: https://docs.servicestack.net/typesense-ai-search
4+
image: /img/whatsnew/v8.10/typesense-ai-search.webp
5+
order: 3
6+
---
7+
8+
We've launched a powerful new AI Search feature powered by Typesense's Conversational Search API, bringing intelligent, context-aware answers directly from ServiceStack Docs. Using **Retrieval-Augmented Generation (RAG)** with **Gemini Flash 2.5**, AI Search excels at answering complex `"how do I..."` questions by synthesizing information across multiple documentation pages.
9+
10+
The conversational interface allows you to ask natural language questions and receive AI-generated answers grounded in actual documentation, complete with relevant links and snippets. Multi-turn conversations maintain context, letting you ask follow-up questions. While traditional Typesense search remains ideal for finding specific pages, AI Search shines when you need explanations, understanding concepts, or help connecting different features together.
11+
12+
Perfect for onboarding new developers, troubleshooting, and discovering ServiceStack features. Try it at [docs.servicestack.net](https://docs.servicestack.net) by clicking the **chat icon**.
126 KB
Loading
90.9 KB
Loading

0 commit comments

Comments
 (0)