Skip to content

Commit 46a61f5

Browse files
authored
Strapi AI for Content-Type Builder (#2737)
* Add Strapi AI CTB section and GIF * Fix badge positioning * Fix new/updated badges * Add new badge to section * Fine-tune badge usage * Reduce white space between h2 followed by badges and first paragraph * Add tip about prompt creation
1 parent 5e4a84d commit 46a61f5

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

docusaurus/docs/cms/features/content-type-builder.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,32 @@ Clicking on the **...** button next to **Save** gives access to other options, s
6161

6262
The Content-type Builder allows to create new content-types: single and collection types, but also components.
6363

64-
#### New content-type
64+
#### Creating content-types with Strapi AI <NewBadge /> {#strapi-ai}
65+
<GrowthBadge />
66+
67+
Strapi comes with Strapi AI, an assistant that lets you interact with the admin panel through natural language to create or edit the content structure.
68+
69+
To use Strapi AI with the Content-Type Builder, click on the <Icon name="sparkle" color="#7B79FF"/> button in the bottom right corner of the admin panel, and describe what you need:
70+
71+
<ThemedImage
72+
alt="Strapi AI in Content-Type Builder"
73+
sources={{
74+
light: '/img/assets/content-manager/strapi-ai-ctb.gif',
75+
dark: '/img/assets/content-manager/strapi-ai-ctb.gif',
76+
}}
77+
/>
78+
79+
You can also use the <Icon name="paperclip" classes="ph" /> button at the bottom of the chat window to import code from an existing Strapi or front-end application, import a Figma project, or attach an image to extract the content structure from a design.
80+
81+
:::tip
82+
The more precise your prompts, the more accurate your created schemas are likely to be.
83+
84+
For example, the following prompt example works well when creating relations: `Could you please generate a collection of dogs then also generate an owner collection and add relationship to dogs? An owner can have multiple dogs, but a dog can only have one owner.`
85+
:::
86+
87+
Strapi AI comes with 1000 credits per month on the <GrowthBadge noTooltip /> plan, and 10 free credits during the free trial.
88+
89+
#### Creating content-types manually {#new-content-type}
6590

6691
<ThemedImage
6792
alt="Content-type creation"
13.7 MB
Loading

0 commit comments

Comments
 (0)