upgrade doc

This commit is contained in:
Xi Yan 2025-03-12 00:17:58 -07:00
parent 0abedd070c
commit 1d80ec7f81
3 changed files with 4 additions and 4 deletions

View file

@ -9385,7 +9385,7 @@
"enum": [ "enum": [
"messages" "messages"
], ],
"description": "The schema format of the dataset. One of - jsonl_messages: The dataset is a JSONL file with messages in column format" "description": "The schema format of the dataset. One of - messages: The dataset contains a messages column with list of messages for post-training."
}, },
"data_source": { "data_source": {
"$ref": "#/components/schemas/DataSource", "$ref": "#/components/schemas/DataSource",

View file

@ -6348,8 +6348,8 @@ components:
enum: enum:
- messages - messages
description: >- description: >-
The schema format of the dataset. One of - jsonl_messages: The dataset The schema format of the dataset. One of - messages: The dataset contains
is a JSONL file with messages in column format a messages column with list of messages for post-training.
data_source: data_source:
$ref: '#/components/schemas/DataSource' $ref: '#/components/schemas/DataSource'
description: >- description: >-

View file

@ -108,7 +108,7 @@ class Datasets(Protocol):
Register a new dataset. Register a new dataset.
:param schema: The schema format of the dataset. One of :param schema: The schema format of the dataset. One of
- jsonl_messages: The dataset is a JSONL file with messages in column format - messages: The dataset contains a messages column with list of messages for post-training.
:param data_source: The data source of the dataset. Examples: :param data_source: The data source of the dataset. Examples:
- { - {
"type": "uri", "type": "uri",