HumanSignal / HumanSignal/label-studio

Add a "required" option for the Labels tag

Open
#4,833 3 comments 2 reactions 1 assignee Claimed by @makseq View on GitHub
community:feature-request
Dominant language
TypeScript
Stars
28.3k
Forks
3.7k
Avg merge
14h
Merged PRs (30d)
15

Description

**Is your feature request related to a problem? Please describe.**
It is not possible to enforce that the \ tag is used at least once in an annotation.

**Describe the solution you'd like**
It would be great if there were a "required" option for \, like some of the other tags (eg \), so that I can enforce usage of \.

**Describe alternatives you've considered**
I can set "enable_empty_annotation" to true in the project config which does technically enforce use of the \ tag but this only works if \ is the only Control Tag in the annotation config, which is often not the case in real projects.

**Additional context**
There is currently a "maxUsages" option for \, perhaps a "minUsages" would be easy to add. It would also be more general-purpose than a "required" option because you could enforce a precise number of usages, eg 1, 2, 3, etc.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.