Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 26 additions & 1 deletion docusaurus/docs/cms/features/content-type-builder.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,32 @@ Clicking on the **...** button next to **Save** gives access to other options, s

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

#### New content-type
#### Creating content-types with Strapi AI <NewBadge /> {#strapi-ai}
<GrowthBadge />

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.

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:

<ThemedImage
alt="Strapi AI in Content-Type Builder"
sources={{
light: '/img/assets/content-manager/strapi-ai-ctb.gif',
dark: '/img/assets/content-manager/strapi-ai-ctb.gif',
}}
/>

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.

:::tip
The more precise your prompts, the more accurate your created schemas are likely to be.

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.`
:::

Strapi AI comes with 1000 credits per month on the <GrowthBadge noTooltip /> plan, and 10 free credits during the free trial.

#### Creating content-types manually {#new-content-type}

<ThemedImage
alt="Content-type creation"
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.