import honeyhive
from honeyhive.models import operations
s = honeyhive.HoneyHive(
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
)
res = s.datasets.get_datasets(project='<value>', type=operations.Type.EVALUATION, dataset_id='<value>')
if res.object is not None:
# handle response
pass{
"testcases": [
{
"project": "New Project",
"name": "test-dataset",
"description": "A test dataset",
"type": "evaluation",
"datapoints": [
"66369748b5773befbdc661e2"
],
"num_points": 1,
"linked_evals": [],
"saved": false,
"pipeline_type": "event",
"created_at": "2024-05-04T20:15:04.124Z",
"updated_at": "2024-05-04T20:15:04.124Z"
}
]
}import honeyhive
from honeyhive.models import operations
s = honeyhive.HoneyHive(
bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
)
res = s.datasets.get_datasets(project='<value>', type=operations.Type.EVALUATION, dataset_id='<value>')
if res.object is not None:
# handle response
pass{
"testcases": [
{
"project": "New Project",
"name": "test-dataset",
"description": "A test dataset",
"type": "evaluation",
"datapoints": [
"66369748b5773befbdc661e2"
],
"num_points": 1,
"linked_evals": [],
"saved": false,
"pipeline_type": "event",
"created_at": "2024-05-04T20:15:04.124Z",
"updated_at": "2024-05-04T20:15:04.124Z"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Project Name associated with the datasets like New Project
Type of the dataset - "evaluation" or "fine-tuning"
evaluation, fine-tuning Unique dataset ID for filtering specific dataset like 663876ec4611c47f4970f0c3
Successful response
Show child attributes
UUID of the project associated with this dataset
Name of the dataset
A description for the dataset
What the dataset is to be used for - "evaluation" or "fine-tuning"
evaluation, fine-tuning List of unique datapoint ids to be included in this dataset
Number of datapoints included in the dataset
List of unique evaluation run ids associated with this dataset
Whether the dataset has been saved or detected
The type of data included in the dataset - "event" (default) or "session"
event, session Timestamp of when the dataset was created
Timestamp of when the dataset was last updated
Was this page helpful?