This commit is contained in:
Sai Soundararaj 2025-07-01 16:36:35 -07:00
parent 441259f2e3
commit b1b93088c5
5 changed files with 56 additions and 17 deletions

View file

@ -10366,9 +10366,9 @@
"tool",
"tool_group"
],
"title": "ResourceType",
"const": "dataset",
"default": "dataset"
"default": "dataset",
"description": "Type of resource, always 'dataset' for datasets"
},
"purpose": {
"type": "string",
@ -10377,11 +10377,11 @@
"eval/question-answer",
"eval/messages-answer"
],
"title": "DatasetPurpose",
"description": "Purpose of the dataset. Each purpose has a required input data schema."
"description": "Purpose of the dataset indicating its intended use"
},
"source": {
"$ref": "#/components/schemas/DataSource"
"$ref": "#/components/schemas/DataSource",
"description": "Data source configuration for the dataset"
},
"metadata": {
"type": "object",
@ -10406,7 +10406,8 @@
"type": "object"
}
]
}
},
"description": "Additional metadata for the dataset"
}
},
"additionalProperties": false,
@ -10418,7 +10419,8 @@
"source",
"metadata"
],
"title": "Dataset"
"title": "Dataset",
"description": "Dataset resource for storing and accessing training or evaluation data."
},
"RowsDataSource": {
"type": "object",
@ -12007,14 +12009,16 @@
"type": "array",
"items": {
"$ref": "#/components/schemas/Dataset"
}
},
"description": "List of datasets"
}
},
"additionalProperties": false,
"required": [
"data"
],
"title": "ListDatasetsResponse"
"title": "ListDatasetsResponse",
"description": "Response from listing datasets."
},
"ListModelsResponse": {
"type": "object",
@ -14091,13 +14095,16 @@
"description": "List of file objects"
},
"has_more": {
"type": "boolean"
"type": "boolean",
"description": "Whether there are more files available beyond this page"
},
"first_id": {
"type": "string"
"type": "string",
"description": "ID of the first file in the list for pagination"
},
"last_id": {
"type": "string"
"type": "string",
"description": "ID of the last file in the list for pagination"
},
"object": {
"type": "string",

View file

@ -7459,20 +7459,22 @@ components:
- benchmark
- tool
- tool_group
title: ResourceType
const: dataset
default: dataset
description: >-
Type of resource, always 'dataset' for datasets
purpose:
type: string
enum:
- post-training/messages
- eval/question-answer
- eval/messages-answer
title: DatasetPurpose
description: >-
Purpose of the dataset. Each purpose has a required input data schema.
Purpose of the dataset indicating its intended use
source:
$ref: '#/components/schemas/DataSource'
description: >-
Data source configuration for the dataset
metadata:
type: object
additionalProperties:
@ -7483,6 +7485,7 @@ components:
- type: string
- type: array
- type: object
description: Additional metadata for the dataset
additionalProperties: false
required:
- identifier
@ -7492,6 +7495,8 @@ components:
- source
- metadata
title: Dataset
description: >-
Dataset resource for storing and accessing training or evaluation data.
RowsDataSource:
type: object
properties:
@ -8606,10 +8611,12 @@ components:
type: array
items:
$ref: '#/components/schemas/Dataset'
description: List of datasets
additionalProperties: false
required:
- data
title: ListDatasetsResponse
description: Response from listing datasets.
ListModelsResponse:
type: object
properties:
@ -10081,10 +10088,16 @@ components:
description: List of file objects
has_more:
type: boolean
description: >-
Whether there are more files available beyond this page
first_id:
type: string
description: >-
ID of the first file in the list for pagination
last_id:
type: string
description: >-
ID of the last file in the list for pagination
object:
type: string
const: list