ai_agents_test-1.0.0-alpha1/examples/drupal_cms/test_drupal_cms_tests__6___general_questions.yaml
examples/drupal_cms/test_drupal_cms_tests__6___general_questions.yaml
label: 'Drupal CMS Tests #6 - General Questions'
description: "These tests are mostly about context switching and making sure that the assistant can give the correct question to the correct agent. It also tests that it doesn't hallucinate that it can do things it can't."
approval_percentage: 90
config_reset: '0'
tests:
-
id:
-
value: '31'
uuid:
-
value: cfa2a3c0-7436-4d2f-a4f2-56ea18a6b59a
label:
-
value: 'Drupal CMS #6.1 - Is there a vocabulary called Jamestown'
status:
-
value: '1'
description:
-
value: 'This is the start of a chat thread and we ask if there is a vocabulary called Jamestown. It should not exist.'
uid:
-
target_id: '1'
created:
-
value: '1748335511'
changed:
-
value: '1748337829'
messages:
-
value: |
-
role: assistant
content: 'I am a Drupal AI Assistant, I can help you set up your Drupal site. I can give you instructions and I can also do some functions.'
-
role: user
content: 'Is there a vocabulary called Jamestown?'
triggering_instructions:
-
value: 'Is there a vocabulary called Jamestown?'
ai_agent:
-
target_id: drupal_cms_assistant
rules:
-
value: |
rule_1:
tool: 'ai_agents::ai_agent::taxonomy_agent_config'
label: 'Should ask if there is a vocabulary called Jamestown'
tool_rules: should_be_run
tool_order: any
tool_loop_order: ''
tool_other_tool_order: 'ai_agents::ai_agent::content_type_agent_triage'
parameters:
prompt:
type_of_check: llm
value: 'This prompt should ask if there is a vocabulary called Jamestown'
files:
type_of_check: empty
value: ''
add_rule: null
response_rule: "The response should include that the vocabulary doesn't exist."
config_reset:
-
value: '0'
ai_agents_test_group:
-
target_id: '6'
-
id:
-
value: '32'
uuid:
-
value: 58b5b3ba-86a5-459d-b3d5-02e777d40c73
label:
-
value: 'Drupal CMS #6.2 - How many content type exists'
status:
-
value: '1'
description:
-
value: 'After asking about the vocabulary, we context switch and ask how many content types exists. Should be one at least for success.'
uid:
-
target_id: '1'
created:
-
value: '1748335635'
changed:
-
value: '1748342556'
messages:
-
value: |
-
role: assistant
content: 'I am a Drupal AI Assistant, I can help you set up your Drupal site. I can give you instructions and I can also do some functions.'
-
role: user
content: 'Is there a vocabulary called Jamestown?'
-
role: assistant
content: 'Vocabulary Check: There is no vocabulary (category group) called "Jamestown" on your site right now. - Tag Check: There also isn’t a tag or category named "Jamestown" in the existing vocabularies. Would you like me to create a vocabulary or tag called "Jamestown" for you? Just let me know what you need!'
-
role: user
content: 'How many content types exists?'
triggering_instructions:
-
value: 'How many content types exists?'
ai_agent:
-
target_id: drupal_cms_assistant
rules:
-
value: |
rule_1:
tool: 'ai_agents::ai_agent::content_type_agent_triage'
label: 'Should ask how many content types exists'
tool_rules: should_be_run
tool_order: any
tool_loop_order: ''
tool_other_tool_order: 'ai_agents::ai_agent::content_type_agent_triage'
parameters:
prompt:
type_of_check: llm
value: 'This prompt should ask how many content types exists or list them or get the count in some other ways. All those ways are ok.'
files:
type_of_check: empty
value: ''
add_rule: null
response_rule: 'The response should at least have one content type, but perhaps more.'
config_reset:
-
value: '0'
ai_agents_test_group:
-
target_id: '6'
-
id:
-
value: '33'
uuid:
-
value: 367f02a9-59ea-41bc-a23a-1c70619d3978
label:
-
value: 'Drupal CMS #6.3 - Name of content types'
status:
-
value: '1'
description:
-
value: 'We just asked how many content types exists and no we ask the name of them. One should be called Basic Page at least for success.'
uid:
-
target_id: '1'
created:
-
value: '1748335795'
changed:
-
value: '1748342638'
messages:
-
value: |
-
role: assistant
content: 'I am a Drupal AI Assistant, I can help you set up your Drupal site. I can give you instructions and I can also do some functions.'
-
role: user
content: 'Is there a vocabulary called Jamestown?'
-
role: assistant
content: 'Vocabulary Check: There is no vocabulary (category group) called "Jamestown" on your site right now. - Tag Check: There also isn’t a tag or category named "Jamestown" in the existing vocabularies. Would you like me to create a vocabulary or tag called "Jamestown" for you? Just let me know what you need!'
-
role: user
content: 'How many content types exists?'
-
role: assistant
content: '**Existing Content Types**: There are currently 1 content type set up on your site. Would you like to see more details about these, or would you like to add a new content type? Just let me know!'
-
role: user
content: 'What is the name of them'
triggering_instructions:
-
value: 'What is the name of them?'
ai_agent:
-
target_id: drupal_cms_assistant
rules:
-
value: |
rule_1:
tool: 'ai_agents::ai_agent::content_type_agent_triage'
label: 'Should ask the name of the content types'
tool_rules: should_be_run
tool_order: any
tool_loop_order: ''
tool_other_tool_order: 'ai_agents::ai_agent::content_type_agent_triage'
parameters:
prompt:
type_of_check: llm
value: 'This prompt should ask the name of the content types or ask for a list of content types or get the name in some other way. Either of those ways are ok.'
files:
type_of_check: empty
value: ''
add_rule: null
response_rule: 'The response should at least mention the Basic Page content type.'
config_reset:
-
value: '0'
ai_agents_test_group:
-
target_id: '6'
-
id:
-
value: '34'
uuid:
-
value: 195a9ccf-3e4c-460a-9a0d-8620dfa4e911
label:
-
value: 'Drupal CMS #6.4 - Content Type Description'
status:
-
value: '1'
description:
-
value: 'We just asked the name of the content types, now we ask about a description for Basic Page. This should give back an description.'
uid:
-
target_id: '1'
created:
-
value: '1748335930'
changed:
-
value: '1748342964'
messages:
-
value: |
-
role: assistant
content: 'I am a Drupal AI Assistant, I can help you set up your Drupal site. I can give you instructions and I can also do some functions.'
-
role: user
content: 'Is there a vocabulary called Jamestown?'
-
role: assistant
content: 'Vocabulary Check: There is no vocabulary (category group) called "Jamestown" on your site right now. - Tag Check: There also isn’t a tag or category named "Jamestown" in the existing vocabularies. Would you like me to create a vocabulary or tag called "Jamestown" for you? Just let me know what you need!'
-
role: user
content: 'How many content types exists?'
-
role: assistant
content: '**Existing Content Types**: There are currently 1 content type set up on your site. Would you like to see more details about these, or would you like to add a new content type? Just let me know!'
-
role: user
content: 'What is the name of them'
-
role: assistant
content: 'The only content type set up on your site is called Basic page (with the machine name: page). This is typically used for static content like an "About us" page. Would you like to add another content type or see details about this one?'
-
role: user
content: 'What is the description of the Basic Page content type?'
triggering_instructions:
-
value: 'What is the description of the Basic Page content type?'
ai_agent:
-
target_id: drupal_cms_assistant
rules:
-
value: |
rule_1:
tool: 'ai_agents::ai_agent::content_type_agent_triage'
label: 'Should ask for the description of the Basic Page content type'
tool_rules: should_be_run
tool_order: any
tool_loop_order: ''
tool_other_tool_order: 'ai_agents::ai_agent::content_type_agent_triage'
parameters:
prompt:
type_of_check: llm
value: 'This prompt should somehow ask to get description of the Basic Page content type, either by instructions or a question.'
files:
type_of_check: empty
value: ''
add_rule: null
response_rule: 'The response should be given a description'
config_reset:
-
value: '0'
ai_agents_test_group:
-
target_id: '6'
-
id:
-
value: '35'
uuid:
-
value: 0ecd5e89-9cd5-4257-9334-bcb8ae92aa6a
label:
-
value: 'Drupal CMS #6.5 - Is Basic Page sticky'
status:
-
value: '1'
description:
-
value: 'We just asked about a description for Basic Page and will now ask if its sticky. This should give back an answer if it is.'
uid:
-
target_id: '1'
created:
-
value: '1748336080'
changed:
-
value: '1748337829'
messages:
-
value: |
-
role: assistant
content: 'I am a Drupal AI Assistant, I can help you set up your Drupal site. I can give you instructions and I can also do some functions.'
-
role: user
content: 'Is there a vocabulary called Jamestown?'
-
role: assistant
content: 'Vocabulary Check: There is no vocabulary (category group) called "Jamestown" on your site right now. - Tag Check: There also isn’t a tag or category named "Jamestown" in the existing vocabularies. Would you like me to create a vocabulary or tag called "Jamestown" for you? Just let me know what you need!'
-
role: user
content: 'How many content types exists?'
-
role: assistant
content: '**Existing Content Types**: There are currently 1 content type set up on your site. Would you like to see more details about these, or would you like to add a new content type? Just let me know!'
-
role: user
content: 'What is the name of them'
-
role: assistant
content: 'The only content type set up on your site is called Basic page (with the machine name: page). This is typically used for static content like an "About us" page. Would you like to add another content type or see details about this one?'
-
role: user
content: 'What is the description of the Basic Page content type?'
-
role: assistant
content: 'The description for the Basic page content type is: "Use basic pages for your static content, such as an ''About us'' page." If you’d like more details about this content type or wish to adjust it, just let me know!'
-
role: user
content: 'Is the Basic Page stored with sticky by default?'
triggering_instructions:
-
value: 'Is the Basic Page stored with sticky by default?'
ai_agent:
-
target_id: drupal_cms_assistant
rules:
-
value: |
rule_1:
tool: 'ai_agents::ai_agent::content_type_agent_triage'
label: 'Should ask for the description of the Basic Page content type'
tool_rules: should_be_run
tool_order: any
tool_loop_order: ''
tool_other_tool_order: 'ai_agents::ai_agent::content_type_agent_triage'
parameters:
prompt:
type_of_check: llm
value: 'This prompt should ask for if the Basic Page is sticky by default'
files:
type_of_check: empty
value: ''
add_rule: null
response_rule: 'The response should be an answer if the Basic Page is sticky or not.'
config_reset:
-
value: '0'
ai_agents_test_group:
-
target_id: '6'
-
id:
-
value: '36'
uuid:
-
value: f391d6bc-b151-4563-8f12-380eb683b045
label:
-
value: 'Drupal CMS #6.6 - The fields of Basic Page'
status:
-
value: '1'
description:
-
value: 'We just asked if the Basic Page is sticky, now we switch agents and ask what fields it has. This should give back an answer with a list of fields.'
uid:
-
target_id: '1'
created:
-
value: '1748336312'
changed:
-
value: '1748337829'
messages:
-
value: |
-
role: user
content: 'How many content types exists?'
-
role: assistant
content: '**Existing Content Types**: There are currently 1 content type set up on your site. Would you like to see more details about these, or would you like to add a new content type? Just let me know!'
-
role: user
content: 'What is the name of them'
-
role: assistant
content: 'The only content type set up on your site is called Basic page (with the machine name: page). This is typically used for static content like an "About us" page. Would you like to add another content type or see details about this one?'
-
role: user
content: 'What is the description of the Basic Page content type?'
-
role: assistant
content: 'The description for the Basic page content type is: "Use basic pages for your static content, such as an ''About us'' page." If you’d like more details about this content type or wish to adjust it, just let me know!'
-
role: user
content: 'Is the Basic Page stored with sticky by default?'
-
role: assistant
content: 'I can confirm that the Basic Page is stored with sticky by default.'
-
role: user
content: 'What kind of fields does it have?'
triggering_instructions:
-
value: 'What kind of fields does it have?'
ai_agent:
-
target_id: drupal_cms_assistant
rules:
-
value: |
rule_1:
tool: 'ai_agents::ai_agent::field_agent_triage'
label: 'Should ask for the fields of the Basic Page content type'
tool_rules: should_be_run
tool_order: any
tool_loop_order: ''
tool_other_tool_order: 'ai_agents::ai_agent::content_type_agent_triage'
parameters:
prompt:
type_of_check: llm
value: 'This prompt should ask for the fields of the Basic Page content type. It can ask for more.'
files:
type_of_check: empty
value: ''
add_rule: null
response_rule: 'The response should be a list of the fields of the Basic Page content type. It can also include other things.'
config_reset:
-
value: '0'
ai_agents_test_group:
-
target_id: '6'
-
id:
-
value: '37'
uuid:
-
value: 0376530c-2ed9-44a8-8287-dd6d2d3e0ff9
label:
-
value: 'Drupal CMS #6.7 - Check a field type'
status:
-
value: '1'
description:
-
value: 'We just asked for the fields of the Basic Page, and will now ask what field types a field is. This should give back the field type features image.'
uid:
-
target_id: '1'
created:
-
value: '1748336552'
changed:
-
value: '1748337829'
messages:
-
value: |
-
role: user
content: 'What is the name of them'
-
role: assistant
content: 'The only content type set up on your site is called Basic page (with the machine name: page). This is typically used for static content like an "About us" page. Would you like to add another content type or see details about this one?'
-
role: user
content: 'What is the description of the Basic Page content type?'
-
role: assistant
content: 'The description for the Basic page content type is: "Use basic pages for your static content, such as an ''About us'' page." If you’d like more details about this content type or wish to adjust it, just let me know!'
-
role: user
content: 'Is the Basic Page stored with sticky by default?'
-
role: assistant
content: 'I can confirm that the Basic Page is stored with sticky by default.'
-
role: user
content: 'What kind of fields does it have?'
-
role: assistant
content: 'Here are the fields set up on the Basic Page content type: - **Title**: A short text field for the title of the page. - **Content**: A long formatted text area for the main body of the page. - **Description**: A required long text field for additional information. (This field is translatable.) - **Featured Image**: Lets you add an image by referencing your media library. - **Tags**: Lets you add one or more tags (categories/keywords) using your site''s tag system. - **Layout (optional)**: Fields for customizing the layout using Layout Builder. There are also several built-in fields used by Drupal for things like author, published date, published status, "promote to front page," and "sticky at top of lists." If you''d like to know more about one of these fields, or want to see or change how they appear on the editing form or when shown to visitors, just let me know!'
-
role: user
content: 'What kind of field type is the featured image?'
triggering_instructions:
-
value: 'What kind of field type is the featured image?'
ai_agent:
-
target_id: drupal_cms_assistant
rules:
-
value: |
rule_1:
tool: 'ai_agents::ai_agent::field_agent_triage'
label: 'Should ask for the field type of the featured image'
tool_rules: should_be_run
tool_order: any
tool_loop_order: ''
tool_other_tool_order: 'ai_agents::ai_agent::content_type_agent_triage'
parameters:
prompt:
type_of_check: llm
value: 'This prompt should ask for the field type of the featured image'
files:
type_of_check: empty
value: ''
add_rule: null
response_rule: 'The response should say that its a media field. The response can include more information.'
config_reset:
-
value: '0'
ai_agents_test_group:
-
target_id: '6'
-
id:
-
value: '38'
uuid:
-
value: 2f0c85ac-1b33-4d14-8215-e899fea67d99
label:
-
value: 'Drupal CMS #6.8 - Check another field type'
status:
-
value: '1'
description:
-
value: 'We just asked for the field type of the Feature Image and will now ask what field types the Tags field is. This should give back the field type entity reference or taxonomy field.'
uid:
-
target_id: '1'
created:
-
value: '1748336687'
changed:
-
value: '1748337829'
messages:
-
value: |
-
role: user
content: 'What is the description of the Basic Page content type?'
-
role: assistant
content: 'The description for the Basic page content type is: "Use basic pages for your static content, such as an ''About us'' page." If you’d like more details about this content type or wish to adjust it, just let me know!'
-
role: user
content: 'Is the Basic Page stored with sticky by default?'
-
role: assistant
content: 'I can confirm that the Basic Page is stored with sticky by default.'
-
role: user
content: 'What kind of fields does it have?'
-
role: assistant
content: 'Here are the fields set up on the Basic Page content type: - **Title**: A short text field for the title of the page. - **Content**: A long formatted text area for the main body of the page. - **Description**: A required long text field for additional information. (This field is translatable.) - **Featured Image**: Lets you add an image by referencing your media library. - **Tags**: Lets you add one or more tags (categories/keywords) using your site''s tag system. - **Layout (optional)**: Fields for customizing the layout using Layout Builder. There are also several built-in fields used by Drupal for things like author, published date, published status, "promote to front page," and "sticky at top of lists." If you''d like to know more about one of these fields, or want to see or change how they appear on the editing form or when shown to visitors, just let me know!'
-
role: user
content: 'What kind of field type is the featured image?'
-
role: assistant
content: '**Field Type**: The "Featured Image" field is an entity reference. This means it links to another entity, not just a simple image upload. - **What It References**: Specifically, it refers to media items of the "image" type in your site''s media library. If you’d like more details about how this works or want to adjust it, let me know!'
-
role: user
content: 'And Tags?'
triggering_instructions:
-
value: 'And Tags?'
ai_agent:
-
target_id: drupal_cms_assistant
rules:
-
value: |
rule_1:
tool: 'ai_agents::ai_agent::field_agent_triage'
label: 'Should ask for the field type of the tags'
tool_rules: should_be_run
tool_order: any
tool_loop_order: ''
tool_other_tool_order: 'ai_agents::ai_agent::content_type_agent_triage'
parameters:
prompt:
type_of_check: llm
value: 'This prompt should ask for the field type of the tags'
files:
type_of_check: empty
value: ''
add_rule: null
response_rule: 'The response should say that it is an entity reference, vocabulary or taxonomy field. The response can include more information.'
config_reset:
-
value: '0'
ai_agents_test_group:
-
target_id: '6'
-
id:
-
value: '39'
uuid:
-
value: 0845ac20-2da7-498f-a38a-a68f170adf74
label:
-
value: 'Drupal CMS #6.9 - Check what vocabulary is connected'
status:
-
value: '1'
description:
-
value: 'We just asked for the field type of the Tags field and will now ask what vocabulary is connected to it. This should give back the tags vocabulary.'
uid:
-
target_id: '1'
created:
-
value: '1748336786'
changed:
-
value: '1748337829'
messages:
-
value: |
-
role: user
content: 'Is the Basic Page stored with sticky by default?'
-
role: assistant
content: 'I can confirm that the Basic Page is stored with sticky by default.'
-
role: user
content: 'What kind of fields does it have?'
-
role: assistant
content: 'Here are the fields set up on the Basic Page content type: - **Title**: A short text field for the title of the page. - **Content**: A long formatted text area for the main body of the page. - **Description**: A required long text field for additional information. (This field is translatable.) - **Featured Image**: Lets you add an image by referencing your media library. - **Tags**: Lets you add one or more tags (categories/keywords) using your site''s tag system. - **Layout (optional)**: Fields for customizing the layout using Layout Builder. There are also several built-in fields used by Drupal for things like author, published date, published status, "promote to front page," and "sticky at top of lists." If you''d like to know more about one of these fields, or want to see or change how they appear on the editing form or when shown to visitors, just let me know!'
-
role: user
content: 'What kind of field type is the featured image?'
-
role: assistant
content: '**Field Type**: The "Featured Image" field is an entity reference. This means it links to another entity, not just a simple image upload. - **What It References**: Specifically, it refers to media items of the "image" type in your site''s media library. If you’d like more details about how this works or want to adjust it, let me know!'
-
role: user
content: 'And Tags?'
-
role: assistant
content: '**Field Type**: The "Tags" field is an entity reference. - **What It References**: It specifically links to items from your site''s Tags vocabulary (these are categories or keywords you''ve set up). - **How It Works**: When you add tags to a Basic Page, you’re selecting from taxonomy terms that help organize and categorize your content. If you need to see or manage these tags/categories, or want to create new ones, just let me know!'
-
role: user
content: 'Which vocabulary is connected to it?'
triggering_instructions:
-
value: 'Which vocabulary is connected to it?'
ai_agent:
-
target_id: drupal_cms_assistant
rules:
-
value: |
rule_1:
tool: 'ai_agents::ai_agent::field_agent_triage'
label: 'Should ask what vocabulary tags field is using'
tool_rules: should_be_run
tool_order: any
tool_loop_order: ''
tool_other_tool_order: 'ai_agents::ai_agent::content_type_agent_triage'
parameters:
prompt:
type_of_check: llm
value: 'This prompt should ask what vocabulary tags field is using'
files:
type_of_check: empty
value: ''
add_rule: null
response_rule: 'The response should say that its using the vocabulary called tags. The response can include more information.'
config_reset:
-
value: '0'
ai_agents_test_group:
-
target_id: '6'
-
id:
-
value: '40'
uuid:
-
value: 38f41219-29e6-4f40-b16c-9d5700b86ff0
label:
-
value: 'Drupal CMS #6.10 - Check if a field is required'
status:
-
value: '1'
description:
-
value: 'We just asked what vocabulary is connected to the tags field and will no ask if its required. This should give back if its required.'
uid:
-
target_id: '1'
created:
-
value: '1748336907'
changed:
-
value: '1748337829'
messages:
-
value: |
-
role: user
content: 'What kind of fields does it have?'
-
role: assistant
content: 'Here are the fields set up on the Basic Page content type: - **Title**: A short text field for the title of the page. - **Content**: A long formatted text area for the main body of the page. - **Description**: A required long text field for additional information. (This field is translatable.) - **Featured Image**: Lets you add an image by referencing your media library. - **Tags**: Lets you add one or more tags (categories/keywords) using your site''s tag system. - **Layout (optional)**: Fields for customizing the layout using Layout Builder. There are also several built-in fields used by Drupal for things like author, published date, published status, "promote to front page," and "sticky at top of lists." If you''d like to know more about one of these fields, or want to see or change how they appear on the editing form or when shown to visitors, just let me know!'
-
role: user
content: 'What kind of field type is the featured image?'
-
role: assistant
content: '**Field Type**: The "Featured Image" field is an entity reference. This means it links to another entity, not just a simple image upload. - **What It References**: Specifically, it refers to media items of the "image" type in your site''s media library. If you’d like more details about how this works or want to adjust it, let me know!'
-
role: user
content: 'And Tags?'
-
role: assistant
content: '**Field Type**: The "Tags" field is an entity reference. - **What It References**: It specifically links to items from your site''s Tags vocabulary (these are categories or keywords you''ve set up). - **How It Works**: When you add tags to a Basic Page, you’re selecting from taxonomy terms that help organize and categorize your content. If you need to see or manage these tags/categories, or want to create new ones, just let me know!'
-
role: user
content: 'Which vocabulary is connected to it?'
-
role: assistant
content: '**Vocabulary Connected**: The "Tags" field on the Basic Page content type uses the "Tags" vocabulary. When you add or select tags, they''re coming from this built-in set of keywords or categories. If you want to view or manage the tag options or add new ones, I can help set that up or guide you!'
-
role: user
content: 'Is it required?'
triggering_instructions:
-
value: 'Is it required?'
ai_agent:
-
target_id: drupal_cms_assistant
rules:
-
value: |
rule_1:
tool: 'ai_agents::ai_agent::field_agent_triage'
label: 'Should ask what field tags is required'
tool_rules: should_be_run
tool_order: any
tool_loop_order: ''
tool_other_tool_order: 'ai_agents::ai_agent::content_type_agent_triage'
parameters:
prompt:
type_of_check: llm
value: 'This prompt should ask what field tags is required'
files:
type_of_check: empty
value: ''
add_rule: null
response_rule: 'The response should answer if the field Tags is required. The response can include more information.'
config_reset:
-
value: '1'
ai_agents_test_group:
-
target_id: '6'
-
id:
-
value: '41'
uuid:
-
value: a75fa107-7542-4378-a931-8f7cb0888216
label:
-
value: 'Drupal CMS #6.11 - What filter formats on Content field'
status:
-
value: '1'
description:
-
value: 'We just asked to make the Tags field required and will now switch and ask what filter formats exists on Content field, in plain language. This should give back the four filter formats available or ask which content type we mean.'
uid:
-
target_id: '1'
created:
-
value: '1748337042'
changed:
-
value: '1748343606'
messages:
-
value: |
-
role: user
content: 'And Tags?'
-
role: assistant
content: '**Field Type**: The "Tags" field is an entity reference. - **What It References**: It specifically links to items from your site''s Tags vocabulary (these are categories or keywords you''ve set up). - **How It Works**: When you add tags to a Basic Page, you’re selecting from taxonomy terms that help organize and categorize your content. If you need to see or manage these tags/categories, or want to create new ones, just let me know!'
-
role: user
content: 'Which vocabulary is connected to it?'
-
role: assistant
content: '**Vocabulary Connected**: The "Tags" field on the Basic Page content type uses the "Tags" vocabulary. When you add or select tags, they''re coming from this built-in set of keywords or categories. If you want to view or manage the tag options or add new ones, I can help set that up or guide you!'
-
role: user
content: 'Is it required?'
-
role: assistant
content: 'The "Tags" field on the Basic Page content type is not required. You can leave it empty when creating or editing a Basic Page. If you’d like to change this so it must always be filled in, let me know and I can set that up for you!'
-
role: user
content: 'Can you make it required?'
-
role: assistant
content: 'Here’s what I did: - **Field Requirement**: The Tags field is now required for the Basic Page content type. Editors will need to select at least one tag when creating or editing a Basic Page. If you want other changes—like making Tags optional again or adjusting how they’re displayed—just let me know!'
-
role: user
content: 'What kind of HTML can you add to the Content field?'
triggering_instructions:
-
value: 'What kind of HTML can you add to the Content field?'
ai_agent:
-
target_id: drupal_cms_assistant
rules:
-
value: |
rule_1:
tool: 'ai_agents::ai_agent::field_agent_triage'
label: 'Should ask either what HTML or what filter formats you can set on the Content field on Basic Page'
tool_rules: should_be_run
tool_order: any
tool_loop_order: ''
tool_other_tool_order: 'ai_agents::ai_agent::content_type_agent_triage'
parameters:
prompt:
type_of_check: llm
value: 'This prompt should ask either what HTML or what filter formats you can set on the Content field on Basic Page. Asking what HTML is possible to input would also approve this.'
files:
type_of_check: empty
value: ''
add_rule: null
response_rule: "The response should give back a list of filter formats, it might call it HTML types or HTML formats, all is ok. It could also be a question or even be which HTML tags are allowed. One of the following makes this ok.\r\n\r\nThe response can also include more information on top of any of that."
config_reset:
-
value: '0'
ai_agents_test_group:
-
target_id: '6'
-
id:
-
value: '42'
uuid:
-
value: 46c1c3ee-8b9d-4c65-9d1f-0a070a0bb74d
label:
-
value: 'Drupal CMS #6.12 - What type is the description field'
status:
-
value: '1'
description:
-
value: 'We just asked what filter formats exists on Content field, in plain language and will now ask what field type the description field is. This should give back that it is a string long.'
uid:
-
target_id: '1'
created:
-
value: '1748337372'
changed:
-
value: '1748337840'
messages:
-
value: |
-
role: user
content: 'Which vocabulary is connected to it?'
-
role: assistant
content: '**Vocabulary Connected**: The "Tags" field on the Basic Page content type uses the "Tags" vocabulary. When you add or select tags, they''re coming from this built-in set of keywords or categories. If you want to view or manage the tag options or add new ones, I can help set that up or guide you!'
-
role: user
content: 'Is it required?'
-
role: assistant
content: 'The "Tags" field on the Basic Page content type is not required. You can leave it empty when creating or editing a Basic Page. If you’d like to change this so it must always be filled in, let me know and I can set that up for you!'
-
role: user
content: 'Can you make it required?'
-
role: assistant
content: 'Here’s what I did: - **Field Requirement**: The Tags field is now required for the Basic Page content type. Editors will need to select at least one tag when creating or editing a Basic Page. If you want other changes—like making Tags optional again or adjusting how they’re displayed—just let me know!'
-
role: user
content: 'What kind of HTML can you add to the Content field?'
-
role: assistant
content: '**HTML Allowed**: The type of HTML you can add to the Content field on Basic Pages depends on the settings of the "Content" text format. - **Typical Restrictions**: Only certain safe HTML tags (like bold, italics, links, etc.) are usually allowed. Scripts and more advanced HTML are generally filtered out. - **Where to Check or Change**: You can see the exact list by going to Configuration → Content authoring → Text formats and editors → Content. Would you like me to check which HTML tags are specifically allowed on your site, or guide you to where you can see and adjust this?'
-
role: user
content: 'and what type is the description field?'
triggering_instructions:
-
value: 'and what type is the description field?'
ai_agent:
-
target_id: drupal_cms_assistant
rules:
-
value: |
rule_1:
tool: 'ai_agents::ai_agent::field_agent_triage'
label: 'Should ask what field type the Description field on Basic Page is'
tool_rules: should_be_run
tool_order: any
tool_loop_order: ''
tool_other_tool_order: 'ai_agents::ai_agent::content_type_agent_triage'
parameters:
prompt:
type_of_check: llm
value: 'This prompt should ask what field type the Description field on Basic Page is. It might ask other things as well.'
files:
type_of_check: empty
value: ''
add_rule: null
response_rule: 'The response should give back that its string long (or use normal language for it). The response can include more information.'
config_reset:
-
value: '0'
ai_agents_test_group:
-
target_id: '6'
-
id:
-
value: '43'
uuid:
-
value: ec83313c-36e6-4a07-9ce1-5ce7098ecf58
label:
-
value: 'Drupal CMS #6.13 - Try to change field type'
status:
-
value: '1'
description:
-
value: 'We just asked what field type the description field is and will now ask it to change the field type. This should not be allowed to do.'
uid:
-
target_id: '1'
created:
-
value: '1748337630'
changed:
-
value: '1748337829'
messages:
-
value: |
-
role: user
content: 'Which vocabulary is connected to it?'
-
role: assistant
content: 'The "Tags" field on the Basic Page content type is not required. You can leave it empty when creating or editing a Basic Page. If you’d like to change this so it must always be filled in, let me know and I can set that up for you!'
-
role: user
content: 'Can you make it required?'
-
role: assistant
content: 'Here’s what I did: - **Field Requirement**: The Tags field is now required for the Basic Page content type. Editors will need to select at least one tag when creating or editing a Basic Page. If you want other changes—like making Tags optional again or adjusting how they’re displayed—just let me know!'
-
role: user
content: 'What kind of HTML can you add to the Content field?'
-
role: assistant
content: '**HTML Allowed**: The type of HTML you can add to the Content field on Basic Pages depends on the settings of the "Content" text format. - **Typical Restrictions**: Only certain safe HTML tags (like bold, italics, links, etc.) are usually allowed. Scripts and more advanced HTML are generally filtered out. - **Where to Check or Change**: You can see the exact list by going to Configuration → Content authoring → Text formats and editors → Content. Would you like me to check which HTML tags are specifically allowed on your site, or guide you to where you can see and adjust this?'
-
role: user
content: 'and what type is the description field?'
-
role: assistant
content: '**Field Type**: The Description field on the Basic Page content type is set as "Text (plain, long)"—this means it only allows plain text, not any HTML or formatting. - If you’d prefer this field to allow formatting or HTML (like the Content field), let me know and I can update it for you!'
-
role: user
content: 'Can you change that type for me?'
triggering_instructions:
-
value: 'Can you change that type for me?'
ai_agent:
-
target_id: drupal_cms_assistant
rules:
-
value: |
rule_1:
tool: 'ai_agents::ai_agent::field_agent_triage'
label: 'Should ask if we can change the field type'
tool_rules: should_be_run
tool_order: any
tool_loop_order: ''
tool_other_tool_order: 'ai_agents::ai_agent::content_type_agent_triage'
parameters:
prompt:
type_of_check: llm
value: 'This prompt should ask if we can change the field type. It might ask other things as well.'
files:
type_of_check: empty
value: ''
add_rule: null
response_rule: 'The response should say that changing field types is not allowed or possible. Any of that is ok.'
config_reset:
-
value: '0'
ai_agents_test_group:
-
target_id: '6'
