Foundation Models Dataset Service API, gRPC: DatasetService.GetPreview
Статья создана
Обновлена 9 декабря 2024 г.
Returns a preview of dataset types
gRPC request
rpc GetPreview (GetDatasetPreviewRequest) returns (GetDatasetPreviewResponse)
GetDatasetPreviewRequest
{
"dataset_id": "string"
}
Field |
Description |
dataset_id |
string Required field. ID of the dataset. |
GetDatasetPreviewResponse
{
"dataset_id": "string",
"preview_lines": [
"string"
]
}
Field |
Description |
dataset_id |
string ID of the dataset. |
preview_lines[] |
string List of dataset preview lines |