ai_agents_test-1.0.0-alpha1/examples/drupal_cms/test_drupal_cms_test__5___vocabulary_and_terms.yaml
examples/drupal_cms/test_drupal_cms_test__5___vocabulary_and_terms.yaml
label: 'Drupal CMS Test #5 - Vocabulary and Terms'
description: 'Adds a vocabulary and taxonomy terms and then connects this to a content type and then changes the for display and then tries to trick about field groups.'
approval_percentage: 100
config_reset: '0'
tests:
-
id:
-
value: '22'
uuid:
-
value: 1f744556-dbf6-4310-8392-86d3b96039a6
label:
-
value: 'Drupal CMS #5.1 - Add vocabulary and terms'
status:
-
value: '1'
description:
-
value: 'This will add a vocabulary called Delivery Status with 4 fixed terms'
uid:
-
target_id: '1'
created:
-
value: '1748283468'
changed:
-
value: '1748333493'
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: 'Can you add a vocabulary called Delivery Status and fill it with the status Delivered, On Its Way, Preparing Shipping, Order Received'
triggering_instructions:
-
value: 'Can you add a vocabulary called Delivery Status and fill it with the status Delivered, On Its Way, Preparing Shipping, Order Received'
ai_agent:
-
target_id: drupal_cms_assistant
rules:
-
value: |
rule_1:
tool: 'ai_agents::ai_agent::taxonomy_agent_config'
label: 'Should ask Taxonomy agent for creating vocabulary'
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: 'Should ask to create a vocabulary called Delivery Status and fill it with four terms, including Delivered, On Its Way'
files:
type_of_check: empty
value: ''
add_rule: null
response_rule: 'The response should verify that it has created the vocabulary Delivery Status and four terms.'
config_reset:
-
value: '0'
ai_agents_test_group:
-
target_id: '5'
-
id:
-
value: '23'
uuid:
-
value: a716966d-f005-4e9f-8064-221a116a69cb
label:
-
value: 'Drupal CMS #5.2 - Add Vocabulary to Content Type'
status:
-
value: '1'
description:
-
value: 'This runs after the vocabulary Delivery Status was created and attaches it to the Basic Page content type.'
uid:
-
target_id: '1'
created:
-
value: '1748283872'
changed:
-
value: '1748333493'
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: 'Can you add a vocabulary called Delivery Status and fill it with the status Delivered, On Its Way, Preparing Shipping, Order Received'
-
role: assistant
content: 'Here''s what I''ve set up for you: - **Vocabulary Creation**: A new set of categories called "Delivery Status" was added to your site. - **Term Addition**: The following status options were included: Delivered, On Its Way, Preparing Shipping, and Order Received. You can manage or view these statuses at /admin/structure/taxonomy. If you want to add more options, edit existing ones, or use this vocabulary somewhere else (like in product content), just let me know!'
-
role: user
content: 'Could you add that as a field on the Basic Page content type?'
triggering_instructions:
-
value: 'Could you add that as a field on the Basic Page content type?'
ai_agent:
-
target_id: drupal_cms_assistant
rules:
-
value: |
rule_1:
tool: 'ai_agents::ai_agent::field_agent_triage'
label: 'Should add the Delivery Status field to 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: 'Should ask to create a field on the Basic Page for the vocabulary called Delivery Status'
files:
type_of_check: empty
value: ''
rule_3:
tool: 'ai_agents::ai_agent::content_type_agent_triage'
label: 'Content Type Agent should not run'
tool_rules: should_not_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: empty
value: ''
files:
type_of_check: empty
value: ''
rule_4:
tool: 'ai_agents::ai_agent::taxonomy_agent_config'
label: 'Taxonomy Agent should not run'
tool_rules: should_not_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: empty
value: ''
files:
type_of_check: empty
value: ''
add_rule: null
response_rule: 'The response should verify that it has created the field and used the vocabulary Delivery Status on it.'
config_reset:
-
value: '0'
ai_agents_test_group:
-
target_id: '5'
-
id:
-
value: '24'
uuid:
-
value: 73bd86db-bef9-46fd-8771-49b0a5839273
label:
-
value: 'Drupal CMS #5.3 - Change the form display'
status:
-
value: '1'
description:
-
value: 'This runs after the taxonomy field was created and changes its form display to radio buttons. Success is that it could do it.'
uid:
-
target_id: '1'
created:
-
value: '1748331681'
changed:
-
value: '1748333493'
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: 'Can you add a vocabulary called Delivery Status and fill it with the status Delivered, On Its Way, Preparing Shipping, Order Received'
-
role: assistant
content: 'Here''s what I''ve set up for you: - **Vocabulary Creation**: A new set of categories called "Delivery Status" was added to your site. - **Term Addition**: The following status options were included: Delivered, On Its Way, Preparing Shipping, and Order Received. You can manage or view these statuses at /admin/structure/taxonomy. If you want to add more options, edit existing ones, or use this vocabulary somewhere else (like in product content), just let me know!'
-
role: user
content: 'Could you add that as a field on the Basic Page content type?'
-
role: assistant
content: 'Here''s what has been set up for you: - **Field Added to Basic Page**: There is now a "Delivery Status" dropdown field on your Basic Page content type. - **Dropdown Choices**: Editors can choose one option from your "Delivery Status" values (Delivered, On Its Way, Preparing Shipping, Order Received) when editing or creating a Basic Page. If you want this field to show up in a different spot on the editing screen, or appear a certain way on the public page, just let me know how you''d like it adjusted! You can review or re-arrange fields at /admin/structure/types/manage/page/fields.'
-
role: user
content: 'Could you make it into radio buttons on the form display?'
triggering_instructions:
-
value: 'Could you make it into radio buttons on the form display?'
ai_agent:
-
target_id: drupal_cms_assistant
rules:
-
value: |
rule_1:
tool: 'ai_agents::ai_agent::field_agent_triage'
label: 'Should ask to change the Delivery Status into radio buttons'
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: 'Should ask to change the Delivery Status into radio buttons'
files:
type_of_check: empty
value: ''
rule_3:
tool: 'ai_agents::ai_agent::content_type_agent_triage'
label: 'Content Type Agent should not run'
tool_rules: should_not_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: empty
value: ''
files:
type_of_check: empty
value: ''
rule_4:
tool: 'ai_agents::ai_agent::taxonomy_agent_config'
label: 'Taxonomy Agent should not run'
tool_rules: should_not_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: empty
value: ''
files:
type_of_check: empty
value: ''
add_rule: null
response_rule: 'The response should verify that it has changed the radio buttons on the form display.'
config_reset:
-
value: '0'
ai_agents_test_group:
-
target_id: '5'
-
id:
-
value: '25'
uuid:
-
value: 8bdfff52-53a2-4d9e-b50f-7d840badc01f
label:
-
value: 'Drupal CMS #5.4 - Try to create none existing Field Group'
status:
-
value: '1'
description:
-
value: "This runs after it changes its form display to radio buttons and tries to create a field group. Success is that it recognizes that it can't since a Field Group agent doesn't exist."
uid:
-
target_id: '1'
created:
-
value: '1748332290'
changed:
-
value: '1748333493'
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: 'Can you add a vocabulary called Delivery Status and fill it with the status Delivered, On Its Way, Preparing Shipping, Order Received'
-
role: assistant
content: 'Here''s what I''ve set up for you: - **Vocabulary Creation**: A new set of categories called "Delivery Status" was added to your site. - **Term Addition**: The following status options were included: Delivered, On Its Way, Preparing Shipping, and Order Received. You can manage or view these statuses at /admin/structure/taxonomy. If you want to add more options, edit existing ones, or use this vocabulary somewhere else (like in product content), just let me know!'
-
role: user
content: 'Could you add that as a field on the Basic Page content type?'
-
role: assistant
content: 'Here''s what has been set up for you: - **Field Added to Basic Page**: There is now a "Delivery Status" dropdown field on your Basic Page content type. - **Dropdown Choices**: Editors can choose one option from your "Delivery Status" values (Delivered, On Its Way, Preparing Shipping, Order Received) when editing or creating a Basic Page. If you want this field to show up in a different spot on the editing screen, or appear a certain way on the public page, just let me know how you''d like it adjusted! You can review or re-arrange fields at /admin/structure/types/manage/page/fields.'
-
role: user
content: 'Could you make it into radio buttons on the form display?'
-
role: assistant
content: '**Form Widget Changed**: The "Delivery Status" field on your Basic Page content type now appears as radio buttons instead of a dropdown. - **Easier Selection**: Site editors will see the status choices as radio buttons when creating or editing a Basic Page, making it quicker to select one option. If you''d like to change how this field shows up on the public side of your site or need any other tweaks, just let me know! You can also check the field''s form settings at /admin/structure/types/manage/page/form-display.'
-
role: user
content: 'Could you add it to the Contact tab Field Group?'
triggering_instructions:
-
value: 'Could you add it to the Contact tab Field Group?'
ai_agent:
-
target_id: drupal_cms_assistant
rules:
-
value: |
rule_1:
tool: 'ai_agents::ai_agent::field_agent_triage'
label: 'Should ask to move it to the Contact Tab Field Group'
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: 'Should ask to change the Delivery Status into radio buttonsShould ask to move it to the Contact Tab Field Group'
files:
type_of_check: empty
value: ''
rule_3:
tool: 'ai_agents::ai_agent::content_type_agent_triage'
label: 'Content Type Agent should not run'
tool_rules: should_not_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: empty
value: ''
files:
type_of_check: empty
value: ''
rule_4:
tool: 'ai_agents::ai_agent::taxonomy_agent_config'
label: 'Taxonomy Agent should not run'
tool_rules: should_not_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: empty
value: ''
files:
type_of_check: empty
value: ''
add_rule: null
response_rule: 'The response should say that it was not able to change the field group.'
config_reset:
-
value: '0'
ai_agents_test_group:
-
target_id: '5'
-
id:
-
value: '26'
uuid:
-
value: 8d61ab99-caab-4300-b9a6-420e670d882c
label:
-
value: 'Drupal CMS #5.5 - Try to reorder the Delivery Status vocabulary'
status:
-
value: '1'
description:
-
value: "This runs after the field group couldn't be set and tries to reorder the Delivery Status in alphabetical order. Success is that it can do it."
uid:
-
target_id: '1'
created:
-
value: '1748332666'
changed:
-
value: '1748335099'
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: 'Can you add a vocabulary called Delivery Status and fill it with the status Delivered, On Its Way, Preparing Shipping, Order Received'
-
role: assistant
content: 'Here''s what I''ve set up for you: - **Vocabulary Creation**: A new set of categories called "Delivery Status" was added to your site. - **Term Addition**: The following status options were included: Delivered, On Its Way, Preparing Shipping, and Order Received. You can manage or view these statuses at /admin/structure/taxonomy. If you want to add more options, edit existing ones, or use this vocabulary somewhere else (like in product content), just let me know!'
-
role: user
content: 'Could you add that as a field on the Basic Page content type?'
-
role: assistant
content: 'Here''s what has been set up for you: - **Field Added to Basic Page**: There is now a "Delivery Status" dropdown field on your Basic Page content type. - **Dropdown Choices**: Editors can choose one option from your "Delivery Status" values (Delivered, On Its Way, Preparing Shipping, Order Received) when editing or creating a Basic Page. If you want this field to show up in a different spot on the editing screen, or appear a certain way on the public page, just let me know how you''d like it adjusted! You can review or re-arrange fields at /admin/structure/types/manage/page/fields.'
-
role: user
content: 'Could you make it into radio buttons on the form display?'
-
role: assistant
content: '**Form Widget Changed**: The "Delivery Status" field on your Basic Page content type now appears as radio buttons instead of a dropdown. - **Easier Selection**: Site editors will see the status choices as radio buttons when creating or editing a Basic Page, making it quicker to select one option. If you''d like to change how this field shows up on the public side of your site or need any other tweaks, just let me know! You can also check the field''s form settings at /admin/structure/types/manage/page/form-display.'
-
role: user
content: 'Could you add it to the Contact tab Field Group?'
-
role: assistant
content: 'Sorry, it seems like I do not have the possibility to change this on my own, would you like me to instruct you how to do it?'
-
role: user
content: 'No, instead on the delivery status vocabulary, could you reorder the terms so they are in alphabetical order?'
triggering_instructions:
-
value: 'No, instead on the delivery status vocabulary, could you reorder the terms so they are in alphabetical order?'
ai_agent:
-
target_id: drupal_cms_assistant
rules:
-
value: |
rule_1:
tool: 'ai_agents::ai_agent::taxonomy_agent_config'
label: 'Should ask to reorder the Delivery Status items'
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: 'Should ask to reorder the Delivery Status items'
files:
type_of_check: empty
value: ''
rule_3:
tool: 'ai_agents::ai_agent::content_type_agent_triage'
label: 'Content Type Agent should not run'
tool_rules: should_not_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: empty
value: ''
files:
type_of_check: empty
value: ''
rule_4:
tool: 'ai_agents::ai_agent::field_agent_triage'
label: 'Field Agent should not run'
tool_rules: should_not_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: empty
value: ''
files:
type_of_check: empty
value: ''
add_rule: null
response_rule: 'The response should say the new order of the items.'
config_reset:
-
value: '0'
ai_agents_test_group:
-
target_id: '5'
-
id:
-
value: '27'
uuid:
-
value: d0e021ba-2fdd-4489-b1c6-bb4fc668551f
label:
-
value: 'Drupal CMS #5.6 - Set a child to a parent in the Delivery Status vocabulary'
status:
-
value: '1'
description:
-
value: 'This runs after the Delivery Status is reordered in alphabetical order and asks to set a child to a parent. Success is that it can do it.'
uid:
-
target_id: '1'
created:
-
value: '1748333649'
changed:
-
value: '1748333888'
messages:
-
value: |
-
role: user
content: 'Could you add that as a field on the Basic Page content type?'
-
role: assistant
content: 'Here''s what has been set up for you: - **Field Added to Basic Page**: There is now a "Delivery Status" dropdown field on your Basic Page content type. - **Dropdown Choices**: Editors can choose one option from your "Delivery Status" values (Delivered, On Its Way, Preparing Shipping, Order Received) when editing or creating a Basic Page. If you want this field to show up in a different spot on the editing screen, or appear a certain way on the public page, just let me know how you''d like it adjusted! You can review or re-arrange fields at /admin/structure/types/manage/page/fields.'
-
role: user
content: 'Could you make it into radio buttons on the form display?'
-
role: assistant
content: '**Form Widget Changed**: The "Delivery Status" field on your Basic Page content type now appears as radio buttons instead of a dropdown. - **Easier Selection**: Site editors will see the status choices as radio buttons when creating or editing a Basic Page, making it quicker to select one option. If you''d like to change how this field shows up on the public side of your site or need any other tweaks, just let me know! You can also check the field''s form settings at /admin/structure/types/manage/page/form-display.'
-
role: user
content: 'Could you add it to the Contact tab Field Group?'
-
role: assistant
content: 'Sorry, it seems like I do not have the possibility to change this on my own, would you like me to instruct you how to do it?'
-
role: user
content: 'No, instead on the delivery status vocabulary, could you reorder the terms so they are in alphabetical order?'
-
role: assistant
content: '**Alphabetical Reordering**: The terms in your "Delivery Status" category are now arranged alphabetically: Delivered, On Its Way, Order Received, Preparing Shipping. You can review or manually adjust the order anytime at /admin/structure/taxonomy/manage/delivery_status/overview. If you have another preferred order or need more changes, just ask!'
-
role: user
content: 'Can you make the Preparing Shipping a child of Order REceived?'
triggering_instructions:
-
value: 'Can you make the Preparing Shipping a child of Order REceived?'
ai_agent:
-
target_id: drupal_cms_assistant
rules:
-
value: |
rule_1:
tool: 'ai_agents::ai_agent::taxonomy_agent_config'
label: 'Should ask to set the Preparing Shipping as a child of Order Received on the Status Vocabulary'
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: 'Should ask to set the Preparing Shipping as a child of Order Received on the Status Vocabulary'
files:
type_of_check: empty
value: ''
rule_3:
tool: 'ai_agents::ai_agent::content_type_agent_triage'
label: 'Content Type Agent should not run'
tool_rules: should_not_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: empty
value: ''
files:
type_of_check: empty
value: ''
rule_4:
tool: 'ai_agents::ai_agent::field_agent_triage'
label: 'Field Agent should not run'
tool_rules: should_not_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: empty
value: ''
files:
type_of_check: empty
value: ''
add_rule: null
response_rule: 'The response should say that it has set the Preparing Shipping as a child of the Order Received'
config_reset:
-
value: '0'
ai_agents_test_group:
-
target_id: '5'
-
id:
-
value: '28'
uuid:
-
value: c8d02170-4a68-4c57-999d-e4814702ea85
label:
-
value: 'Drupal CMS #5.7 - Ask for two vocabulary suggestions'
status:
-
value: '1'
description:
-
value: "This runs after we set a child to a parent on the vocabulary and we ask for two suggestions. Success is that it returns two unique suggestions that doesn't exist."
uid:
-
target_id: '1'
created:
-
value: '1748334072'
changed:
-
value: '1748334082'
messages:
-
value: |
-
role: user
content: 'Could you make it into radio buttons on the form display?'
-
role: assistant
content: '**Form Widget Changed**: The "Delivery Status" field on your Basic Page content type now appears as radio buttons instead of a dropdown. - **Easier Selection**: Site editors will see the status choices as radio buttons when creating or editing a Basic Page, making it quicker to select one option. If you''d like to change how this field shows up on the public side of your site or need any other tweaks, just let me know! You can also check the field''s form settings at /admin/structure/types/manage/page/form-display.'
-
role: user
content: 'Could you add it to the Contact tab Field Group?'
-
role: assistant
content: 'Sorry, it seems like I do not have the possibility to change this on my own, would you like me to instruct you how to do it?'
-
role: user
content: 'No, instead on the delivery status vocabulary, could you reorder the terms so they are in alphabetical order?'
-
role: assistant
content: '**Alphabetical Reordering**: The terms in your "Delivery Status" category are now arranged alphabetically: Delivered, On Its Way, Order Received, Preparing Shipping. You can review or manually adjust the order anytime at /admin/structure/taxonomy/manage/delivery_status/overview. If you have another preferred order or need more changes, just ask!'
-
role: user
content: 'Can you make the Preparing Shipping a child of Order REceived?'
-
role: assistant
content: '**Parent-Child Term Set**: "Preparing Shipping" is now a child (sub-category) of "Order Received" within your Delivery Status categories. If you want to adjust any other relationships, review the hierarchy, or need help showing this on your site, just let me know! You can always check or further organize these at /admin/structure/taxonomy/manage/delivery_status/overview.'
-
role: user
content: 'Could you come up with two other missing terms - just give me suggestions, do not create them yet?'
triggering_instructions:
-
value: 'Could you come up with two other missing terms - just give me suggestions, do not create them yet?'
ai_agent:
-
target_id: drupal_cms_assistant
rules:
-
value: |
rule_1:
tool: 'ai_agents::ai_agent::taxonomy_agent_config'
label: 'Should ask what terms exists currently or ask it to come up with terms'
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 either ask what terms exists currently or ask it to come up with two new terms'
files:
type_of_check: empty
value: ''
rule_3:
tool: 'ai_agents::ai_agent::content_type_agent_triage'
label: 'Content Type Agent should not run'
tool_rules: should_not_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: empty
value: ''
files:
type_of_check: empty
value: ''
rule_4:
tool: 'ai_agents::ai_agent::field_agent_triage'
label: 'Field Agent should not run'
tool_rules: should_not_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: empty
value: ''
files:
type_of_check: empty
value: ''
add_rule: null
response_rule: 'The response should give two suggestions that are not Delivered, On Its Way, Preparing Shipping or Order Received'
config_reset:
-
value: '0'
ai_agents_test_group:
-
target_id: '5'
-
id:
-
value: '29'
uuid:
-
value: 8044ab0a-3032-4e36-aa46-3a4d4ba60efc
label:
-
value: 'Drupal CMS #5.8 - Verify two vocabulary suggestions'
status:
-
value: '1'
description:
-
value: 'This runs after we were given suggestions of two new terms to create, we verify those to create them. Success is that it created them.'
uid:
-
target_id: '1'
created:
-
value: '1748334383'
changed:
-
value: '1748334796'
messages:
-
value: |
-
role: user
content: 'Could you make it into radio buttons on the form display?'
-
role: assistant
content: '**Form Widget Changed**: The "Delivery Status" field on your Basic Page content type now appears as radio buttons instead of a dropdown. - **Easier Selection**: Site editors will see the status choices as radio buttons when creating or editing a Basic Page, making it quicker to select one option. If you''d like to change how this field shows up on the public side of your site or need any other tweaks, just let me know! You can also check the field''s form settings at /admin/structure/types/manage/page/form-display.'
-
role: user
content: 'Could you add it to the Contact tab Field Group?'
-
role: assistant
content: 'Sorry, it seems like I do not have the possibility to change this on my own, would you like me to instruct you how to do it?'
-
role: user
content: 'No, instead on the delivery status vocabulary, could you reorder the terms so they are in alphabetical order?'
-
role: assistant
content: '**Alphabetical Reordering**: The terms in your "Delivery Status" category are now arranged alphabetically: Delivered, On Its Way, Order Received, Preparing Shipping. You can review or manually adjust the order anytime at /admin/structure/taxonomy/manage/delivery_status/overview. If you have another preferred order or need more changes, just ask!'
-
role: user
content: 'Can you make the Preparing Shipping a child of Order REceived?'
-
role: assistant
content: '**Parent-Child Term Set**: "Preparing Shipping" is now a child (sub-category) of "Order Received" within your Delivery Status categories. If you want to adjust any other relationships, review the hierarchy, or need help showing this on your site, just let me know! You can always check or further organize these at /admin/structure/taxonomy/manage/delivery_status/overview.'
-
role: user
content: 'Could you come up with two other missing terms - just give me suggestions, do not create them yet?'
-
role: assistant
content: "Here are two suggested terms you might want to add to your Delivery Status categories: 1. **Awaiting Payment**: For orders that have been placed but payment has not yet been confirmed or received. 2. **Cancelled**: For orders that were stopped or voided before shipment or completion. If you'd like more options or a different direction, let me know!"
-
role: user
content: 'Could you go ahead and create them?'
triggering_instructions:
-
value: 'Could you go ahead and create them?'
ai_agent:
-
target_id: drupal_cms_assistant
rules:
-
value: |
rule_1:
tool: 'ai_agents::ai_agent::taxonomy_agent_config'
label: 'Should ask to add the terms Awaiting Payment and Cancelled to the Delivery Status'
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 to add the terms Awaiting Payment and Cancelled to the Delivery Status'
files:
type_of_check: empty
value: ''
rule_3:
tool: 'ai_agents::ai_agent::content_type_agent_triage'
label: 'Content Type Agent should not run'
tool_rules: should_not_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: empty
value: ''
files:
type_of_check: empty
value: ''
rule_4:
tool: 'ai_agents::ai_agent::field_agent_triage'
label: 'Field Agent should not run'
tool_rules: should_not_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: empty
value: ''
files:
type_of_check: empty
value: ''
add_rule: null
response_rule: 'The response should say that it created the two terms.'
config_reset:
-
value: '0'
ai_agents_test_group:
-
target_id: '5'
-
id:
-
value: '30'
uuid:
-
value: 1520cc87-e60b-4664-b25b-1fd6920588dd
label:
-
value: 'Drupal CMS #5.9 - What fields own that taxonomy'
status:
-
value: '1'
description:
-
value: 'This runs after we created some more term, now we check what fields this vocabulary has. Success is that it returns the fields.'
uid:
-
target_id: '1'
created:
-
value: '1748334784'
changed:
-
value: '1748335048'
messages:
-
value: |
-
role: assistant
content: 'Sorry, it seems like I do not have the possibility to change this on my own, would you like me to instruct you how to do it?'
-
role: user
content: 'No, instead on the delivery status vocabulary, could you reorder the terms so they are in alphabetical order?'
-
role: assistant
content: '**Alphabetical Reordering**: The terms in your "Delivery Status" category are now arranged alphabetically: Delivered, On Its Way, Order Received, Preparing Shipping. You can review or manually adjust the order anytime at /admin/structure/taxonomy/manage/delivery_status/overview. If you have another preferred order or need more changes, just ask!'
-
role: user
content: 'Can you make the Preparing Shipping a child of Order REceived?'
-
role: assistant
content: '**Parent-Child Term Set**: "Preparing Shipping" is now a child (sub-category) of "Order Received" within your Delivery Status categories. If you want to adjust any other relationships, review the hierarchy, or need help showing this on your site, just let me know! You can always check or further organize these at /admin/structure/taxonomy/manage/delivery_status/overview.'
-
role: user
content: 'Could you come up with two other missing terms - just give me suggestions, do not create them yet?'
-
role: assistant
content: "Here are two suggested terms you might want to add to your Delivery Status categories: 1. **Awaiting Payment**: For orders that have been placed but payment has not yet been confirmed or received. 2. **Cancelled**: For orders that were stopped or voided before shipment or completion. If you'd like more options or a different direction, let me know!"
-
role: user
content: 'Could you go ahead and create them?'
-
role: assistant
content: '**New Term Created: Awaiting Payment**; Added to your Delivery Status categories for orders pending payment. - **New Term Created: Cancelled**; Added as an option for orders that have been stopped or voided. You can view, edit, or reorder these terms at /admin/structure/taxonomy/manage/delivery_status/overview. If you want to adjust hierarchy, descriptions, or display settings for these terms, just let me know!'
-
role: user
content: 'What fields exists on the vocabulary?'
triggering_instructions:
-
value: 'What fields exists on the vocabulary?'
ai_agent:
-
target_id: drupal_cms_assistant
rules:
-
value: |
rule_1:
tool: 'ai_agents::ai_agent::field_agent_triage'
label: 'Should ask what fields uses the Delivery Status vocabulary.'
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 fields the Delivery Status vocabulary has.'
files:
type_of_check: empty
value: ''
rule_3:
tool: 'ai_agents::ai_agent::content_type_agent_triage'
label: 'Content Type Agent should not run'
tool_rules: should_not_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: empty
value: ''
files:
type_of_check: empty
value: ''
rule_4:
tool: 'ai_agents::ai_agent::taxonomy_agent_config'
label: 'Taxonomy Agent should not run'
tool_rules: should_not_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: empty
value: ''
files:
type_of_check: empty
value: ''
add_rule: null
response_rule: 'The response should give some kind of information what fields the Delivery Status vocabulary has.'
config_reset:
-
value: '0'
ai_agents_test_group:
-
target_id: '5'
