Overview

Right now there are a lot of block components that the AI can pick, and also components that you might want the end-user to be able to use, but not expose as components that the AI should pick.

We currently have the CanvasAiComponentDescriptionSettingsForm, where you can override descriptions - we should add a possibility to disable components here, to have better control over what the AI can and can't pick.

Proposed resolution

  • Add a hide for ai checkbox to each component.
  • Default value, when not set is always disabled.
  • If enabled, hide the component in the get_component_context.

Issue fork canvas-3549432

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

marcus_johansson created an issue. See original summary.

marcus_johansson’s picture

Version: 1.0.0-alpha1 » 1.x-dev
Status: Active » Needs review
heyyo’s picture

+1
We should also add available pattern to this list.

tedbow’s picture

Status: Needs review » Needs work

see mr comments

akhil babu’s picture