Skip to content

Conversation

@mcanu
Copy link
Contributor

@mcanu mcanu commented Jan 28, 2026

The tag string and label attribute name was wrong for HyperTextLabelsTag, it was hypertext, when it should have been hypertextlabels. And the label attribute name was an obsolete htmllabels, when it should have been hypertextlabels.

For ParagraphLabelsTag only the tag attribute on the class was wrong, and not the key on the _TAG_TO_CLASS map. So no validation error, but it would cause an error if a tag was created from the sdk directly like ParagraphLabelsTag(name="importance", to_name=["dialogue-1"])

Before:

Screen.Recording.2026-01-27.at.18.19.26.mov

After:

Screen.Recording.2026-01-27.at.18.24.20.mov

@mcanu mcanu requested a review from hakan458 January 28, 2026 15:23
@hakan458
Copy link
Contributor

Looks good thanks Marcel!

@robot-ci-heartex robot-ci-heartex merged commit 5a89968 into master Jan 29, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants