Judgeval Python-v1 SDKResponse Types
DatasetInfo
Metadata information about a dataset
Metadata information about a dataset returned by dataset listing operations.
dataset_id
:strUnique identifier for the dataset
name
:strName of the dataset
created_at
:strISO timestamp of when the dataset was created
kind
:strType of dataset ("example" or "trace")
entries
:intNumber of entries (examples or traces) in the dataset
creator
:strIdentifier of the user who created the dataset
creator
:strIdentifier 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}")