dotCMS / dotCMS/core

dotAI AI Auto-Tag Content workflow subaction adding tags

Open
#32,598 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Team : Falcon Type : Defect
Dominant language
Java
Stars
970
Forks
486
Avg merge
3d 33m
Merged PRs (30d)
170

Description

Problem Statement

In the dotAI AI Auto-Tag Content workflow subaction there is a setting, Limit the keywords to pre-existing tags, that when set to True should prevent the workflow from adding additional tags to the system and only tag the piece of content using existing tags. When using this subaction and setting the value of the field to true, the workflow still adds new tags to the system and to the content. It also adds new tags that begin with '['.

So two issues:

  1. Setting the Limit keywords setting to True does not prevent the workflow from adding new tags to the system and content.
  2. The AI workflow is adding keywords that begin with a '['

See video

https://github.com/user-attachments/assets/cdfd749f-d55f-4777-aef7-1555abda4f61

Steps to Reproduce

Configure a workflow step to Auto Tag content and set the Limit the keywords to pre-existing tags to True.
Run the workflow on a piece of content
Check the tags in the system and on the content

May need to run it on several pieces of content to get new tags to be created.

Acceptance Criteria

When setting the Limit Keywords to true, the workflow should only add existing tags to the content, it should not create any new tags.

When the workflow is allowed to create new tags (the Limit Keywords setting is set to false), it should not create new tags that start with '['

dotCMS Version

Current

Proposed Objective

Customer Success

Proposed Priority

Priority 3 - Average

External Links... Slack Conversations, Support Tickets, Figma Designs, etc.

No response

Assumptions & Initiation Needs

No response

Quality Assurance Notes & Workarounds

No response

Sub-Tasks & Estimates

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the dotAI AI Auto-Tag Content workflow subaction and reproduce the behavior using the stated configuration and content workflow steps. Trace how the Limit the keywords to pre-existing tags setting handles tag creation and how generated keywords beginning with '[' are processed. Done means existing tags are applied without creating new ones when enabled, and bracket-prefixed tags are excluded when new tags are allowed.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, content
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.