Skip to content

Commit 9d00953

Browse files
committed
Update v8_09.md
1 parent 46c3adf commit 9d00953

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

MyApp/_pages/releases/v8_09.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2107,8 +2107,8 @@ the same APIs with **both** Identity Auth and API Keys, enabling you to:
21072107
- Provide programmatic access via API Keys
21082108
- Maintain all the benefits of API Keys
21092109

2110-
To achieve this, Users will need to have a valid API Key generated for them which would then need to be added to the `apikey`
2111-
Claim in the `UserClaimsPrincipalFactory` to be included in their Identity Auth Cookie:
2110+
To achieve this, users will need to have a valid API Key generated for them which would then need to be added
2111+
to the `apikey` Claim in the `UserClaimsPrincipalFactory` to be included in their Identity Auth Cookie:
21122112

21132113
```csharp
21142114
// Program.cs
@@ -2161,9 +2161,9 @@ public class QueryOrders : QueryDb<Order> { }
21612161

21622162
## AI Chat
21632163

2164-
We're excited to introduce **AI Chat** — a refreshingly simple solution for integrating AI into your applications by
2165-
unlocking the full value of the OpenAI Chat API. Unlike most other OpenAI SDKs and Frameworks, all of AI Chat's features
2166-
are centered around arguably the most important API in our time - OpenAI's simple [Chat Completion API](https://platform.openai.com/docs/api-reference/chat)
2164+
We're excited to introduce **AI Chat** — a refreshingly simple solution for integrating AI into your applications
2165+
by unlocking the full value of the OpenAI Chat API. Unlike most other OpenAI SDKs and Frameworks, all of AI Chat's
2166+
features are centered around arguably the most important API in our time - OpenAI's simple [Chat Completion API](https://platform.openai.com/docs/api-reference/chat)
21672167
i.e. the primary API used to access Large Language Models (LLMs).
21682168

21692169
We've had several attempts at adding a valuable layer of functionality for harnessing AI into our Apps, including:
@@ -2261,6 +2261,14 @@ public class ConfigureAiChat : IHostingStartup
22612261
}
22622262
```
22632263

2264+
#### Prerequisites:
2265+
2266+
As AI Chat protects its APIs and UI with Identity Auth or API Keys, you'll need to enable the [API Keys Feature](https://docs.servicestack.net/auth/apikeys) if you haven't already:
2267+
2268+
:::sh
2269+
x mix apikeys
2270+
:::
2271+
22642272
## Simple, Not Simplistic
22652273

22662274
How simple is it to use? It's just as you'd expect, your App logic need only bind to a simple `IChatClient` interface

0 commit comments

Comments
 (0)