For the complete documentation index, see llms.txt. This page is also available as Markdown.

Dataset$add_labels

Dataset$add_labels(labels) → self

Add labels to a dataset. All labels are case-insensitive and stored lowercase.

Parameters:

labels : list(str) A list of labels to add to the dataset. Labels can only use alphanumeric characters and underscores, and may be include up to one colon to create a multipart label (e.g., school:humanities). Labels can currently only be assigned to datasets owned by an organization, and you must be an administrator of that organization to view and edit labels.

Returns:

self (a Dataset)

Last updated

Was this helpful?