langsmith.client.Client.read_dataset_openai_finetuning#
- Client.read_dataset_openai_finetuning(dataset_id: str | None = None, *, dataset_name: str | None = None) list[source]#
Download a dataset in OpenAI Jsonl format and load it as a list of dicts.
- Parameters:
dataset_id (str) – The ID of the dataset to download.
dataset_name (str) – The name of the dataset to download.
Returns –
------- –
list – The dataset loaded as a list of dicts.
- Return type:
list