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: apps/website/docs/guide/05-official-plugins/01-commandkit-ai.mdx
+14-17Lines changed: 14 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,7 +67,19 @@ export default defineConfig({
67
67
});
68
68
```
69
69
70
-
Then create an AI configuration file to set up your AI model:
70
+
Then create an AI configuration file to set up your AI model. This can be done in two ways, one via CLI and another manually.
71
+
72
+
### With CLI
73
+
74
+
Use the following command to automatically generate `ai.ts` (or js) file in the project:
75
+
76
+
```sh
77
+
commandkit create ai
78
+
```
79
+
80
+
This command creates `ai.ts` (or js) file inside the `src` directory with openai o3-mini model. You can change it to any other supported models if needed.
0 commit comments