mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-13 13:02:38 +00:00
move jobs, fix errors
This commit is contained in:
parent
5836c09c57
commit
a4f5f1f890
4 changed files with 23 additions and 17 deletions
|
|
@ -15,17 +15,12 @@ from pydantic import BaseModel, Field
|
|||
from llama_stack.apis.common.type_system import ParamType
|
||||
|
||||
|
||||
@json_schema_type
|
||||
class DatasetSchema(BaseModel):
|
||||
columns: Dict[str, ParamType]
|
||||
|
||||
|
||||
@json_schema_type
|
||||
class DatasetDef(BaseModel):
|
||||
identifier: str = Field(
|
||||
description="A unique name for the dataset",
|
||||
)
|
||||
dataset_schema: DatasetSchema = Field(
|
||||
columns_schema: Dict[str, ParamType] = Field(
|
||||
description="The schema definition for this dataset",
|
||||
)
|
||||
url: URL
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue