Skip to content

Commit 3c4e7da

Browse files
chore: Update platform types (#1202)
Automated regeneration of SDK types. Co-authored-by: braintrust-bot[bot] <215900051+braintrust-bot[bot]@users.noreply.github.com>
1 parent 478c4de commit 3c4e7da

3 files changed

Lines changed: 26 additions & 1 deletion

File tree

‎generated_types.json‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11352,6 +11352,20 @@
1135211352
"properties": {
1135311353
"preprocessor": {
1135411354
"$ref": "#/components/schemas/SavedPreprocessorId"
11355+
},
11356+
"classification": {
11357+
"type": "object",
11358+
"properties": {
11359+
"daily_target_usd": {
11360+
"type": "number",
11361+
"minimum": 0,
11362+
"description": "Dollars a day to aim for when answering pattern questions on new traces. Sets the sampling rate; not a hard cap"
11363+
}
11364+
},
11365+
"required": [
11366+
"daily_target_usd"
11367+
],
11368+
"description": "Answer pattern questions on new traces as they are logged. Off when unset."
1135511369
}
1135611370
},
1135711371
"description": "Settings of the Patterns automation"

‎py/src/braintrust/_generated_types.py‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3726,8 +3726,19 @@ class WindowedAutomationConfigLoop(TypedDict):
37263726
"""
37273727

37283728

3729+
class WindowedAutomationConfigPatternsClassification(TypedDict):
3730+
daily_target_usd: float
3731+
"""
3732+
Dollars a day to aim for when answering pattern questions on new traces. Sets the sampling rate; not a hard cap
3733+
"""
3734+
3735+
37293736
class WindowedAutomationConfigPatterns(TypedDict):
37303737
preprocessor: NotRequired[SavedPreprocessorId | None]
3738+
classification: NotRequired[WindowedAutomationConfigPatternsClassification | None]
3739+
"""
3740+
Answer pattern questions on new traces as they are logged. Off when unset.
3741+
"""
37313742

37323743

37333744
class WindowedAutomationConfigActionsHeaders(TypedDict):

‎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 10e789e597c8e600) -- do not modify"""
1+
"""Auto-generated file (content hash 964080a0169d395d) -- do not modify"""
22

33
from ._generated_types import (
44
Acl,

0 commit comments

Comments
 (0)