Skip to content

Commit e10970a

Browse files
chore: generated SDK types (#248)
Automated regeneration of SDK types. Co-authored-by: braintrust-bot[bot] <215900051+braintrust-bot[bot]@users.noreply.github.com>
1 parent 6a8910c commit e10970a

3 files changed

Lines changed: 45 additions & 1 deletion

File tree

generated_types.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7130,6 +7130,20 @@
71307130
"dataset_id": {
71317131
"type": "string"
71327132
},
7133+
"dataset_version": {
7134+
"type": [
7135+
"string",
7136+
"null"
7137+
],
7138+
"description": "The version of the dataset to evaluate"
7139+
},
7140+
"dataset_environment": {
7141+
"type": [
7142+
"string",
7143+
"null"
7144+
],
7145+
"description": "The environment tag that resolves to the dataset version to evaluate"
7146+
},
71337147
"_internal_btql": {
71347148
"type": [
71357149
"object",
@@ -7153,6 +7167,20 @@
71537167
"dataset_name": {
71547168
"type": "string"
71557169
},
7170+
"dataset_version": {
7171+
"type": [
7172+
"string",
7173+
"null"
7174+
],
7175+
"description": "The version of the dataset to evaluate"
7176+
},
7177+
"dataset_environment": {
7178+
"type": [
7179+
"string",
7180+
"null"
7181+
],
7182+
"description": "The environment tag that resolves to the dataset version to evaluate"
7183+
},
71567184
"_internal_btql": {
71577185
"type": [
71587186
"object",

py/src/braintrust/_generated_types.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2082,12 +2082,28 @@ class Role(TypedDict):
20822082

20832083
class RunEvalData(TypedDict):
20842084
dataset_id: str
2085+
dataset_version: NotRequired[str | None]
2086+
"""
2087+
The version of the dataset to evaluate
2088+
"""
2089+
dataset_environment: NotRequired[str | None]
2090+
"""
2091+
The environment tag that resolves to the dataset version to evaluate
2092+
"""
20852093
_internal_btql: NotRequired[Mapping[str, Any] | None]
20862094

20872095

20882096
class RunEvalData1(TypedDict):
20892097
project_name: str
20902098
dataset_name: str
2099+
dataset_version: NotRequired[str | None]
2100+
"""
2101+
The version of the dataset to evaluate
2102+
"""
2103+
dataset_environment: NotRequired[str | None]
2104+
"""
2105+
The environment tag that resolves to the dataset version to evaluate
2106+
"""
20912107
_internal_btql: NotRequired[Mapping[str, Any] | None]
20922108

20932109

py/src/braintrust/generated_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Auto-generated file (content hash a509e50cf535df8c) -- do not modify"""
1+
"""Auto-generated file (content hash 0a2373633d8deec4) -- do not modify"""
22

33
from ._generated_types import (
44
Acl,

0 commit comments

Comments
 (0)