Judgeval Python-v1 SDKResponse Types

DatasetInfo

Metadata information about a dataset

Metadata information about a dataset returned by dataset listing operations.

dataset_id

:str

Unique identifier for the dataset

name

:str

Name of the dataset

created_at

:str

ISO timestamp of when the dataset was created

kind

:str

Type of dataset ("example" or "trace")

entries

:int

Number of entries (examples or traces) in the dataset

creator

:str

Identifier of the user who created the dataset

creator

:str

Identifier of the user who created the dataset

Usage Examples

from judgeval import Judgeval

client = Judgeval(project_name="default_project")

# List datasets to get DatasetInfo objects
datasets = client.datasets.list()

for dataset_info in datasets:
    print(f"Dataset: {dataset_info.name}")
    print(f"  ID: {dataset_info.dataset_id}")
    print(f"  Kind: {dataset_info.kind}")
    print(f"  Entries: {dataset_info.entries}")
    print(f"  Created: {dataset_info.created_at}")
    print(f"  Creator: {dataset_info.creator}")

On this page