This commit is contained in:
Xi Yan 2025-03-13 16:34:29 -07:00
parent fb07642549
commit 7801d9cdf2
2 changed files with 6 additions and 5 deletions

View file

@ -13,7 +13,8 @@ from llama_stack.apis.resource import Resource, ResourceType
from llama_stack.schema_utils import json_schema_type, register_schema, webmethod
class DatasetPurpose(Enum):
@json_schema_type
class DatasetPurpose(str, Enum):
"""
Purpose of the dataset. Each purpose has a required input data schema.