Looking for latest HoneyHive v2? See v2 docs here.
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"
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.honeyhive.ai/llms.txt
Use this file to discover all available pages before exploring further.
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
Was this page helpful?