You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/4.changelog/hub-ai.md
+15-19
Original file line number
Diff line number
Diff line change
@@ -23,22 +23,11 @@ This feature is available on both [free and pro plans](/pricing) and in [`@nuxth
23
23
24
24
We are excited to introduce [`hubAI()`](/docs/features/ai). This new method allows you to run machine learning models, such as LLMs, directly within your Nuxt application with minimal setup.
25
25
26
-
At NuxtHub, we care about DX and we want to make it easy for you to leverage AI in your application using Cloudflare AI without having to manage API keys, account ID or using the `wrangler` CLI.
27
-
28
-
::note
29
-
**If you already have a NuxtHub account**, make sure to add the `Worker AI` permission on your Cloudflare API token.
30
-
31
-
- Open [Cloudflare User API Tokens](https://dash.cloudflare.com/profile/api-tokens)
32
-
- Find the NuxtHub token(s)
33
-
- Add the `Account > Worker AI > Read` permission
34
-
- Save the changes
35
-
36
-
Another solution is to link again your Cloudflare account from your NuxtHub team settings by clicking on `Link a new account` > `Create a token with required permissions`.
37
-
::
26
+
At NuxtHub, we care about DX and we want to make it easy for you to leverage AI in your application using Cloudflare AI **without having to manage API keys, account ID or using the `wrangler` CLI**.
38
27
39
28
## How to use hubAI()
40
29
41
-
1. Update `@nuxthub/core` to the latest version
30
+
1. Update `@nuxthub/core` to the latest version (`v0.7.2` or later)
Read the [full documentation](/docs/features/ai) to learn more about `hubAI()`.
70
55
71
-
::callout
56
+
::important
57
+
**If you already have a NuxtHub account**, make sure to add the `Worker AI` permission on your Cloudflare API token.
58
+
59
+
- Open [Cloudflare User API Tokens](https://dash.cloudflare.com/profile/api-tokens)
60
+
- Find the NuxtHub token(s)
61
+
- Add the `Account > Worker AI > Read` permission
62
+
- Save the changes
63
+
64
+
Another solution is to link again your Cloudflare account from your NuxtHub team settings by clicking on `Link a new account` > `Create a token with required permissions`.
65
+
::
66
+
67
+
::note
72
68
This feature has been implemented in [nuxt-hub/core#173](https://github.com/nuxt-hub/core/pull/173).
0 commit comments