Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions generated_types.json
Original file line number Diff line number Diff line change
Expand Up @@ -5541,6 +5541,14 @@
"status": {
"$ref": "#/components/schemas/AutomationStatus"
},
"service_tier": {
"type": "string",
"enum": [
"standard",
"flex"
],
"description": "Service tier for online scoring. If omitted, prompt-level service tiers are preserved."
},
"sampling_rate": {
"type": "number",
"minimum": 0,
Expand Down
4 changes: 4 additions & 0 deletions py/src/braintrust/_generated_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -3871,6 +3871,10 @@ class ModelParamsModelParams(TypedDict):

class OnlineScoreConfig(TypedDict):
status: NotRequired[AutomationStatus | None]
service_tier: NotRequired[Literal['standard', 'flex'] | None]
"""
Service tier for online scoring. If omitted, prompt-level service tiers are preserved.
"""
sampling_rate: float
"""
The sampling rate for online scoring
Expand Down
2 changes: 1 addition & 1 deletion py/src/braintrust/generated_types.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Auto-generated file (content hash 1e3210c001e3a447) -- do not modify"""
"""Auto-generated file (content hash cf7b7e6d0ca18d3a) -- do not modify"""

from ._generated_types import (
Acl,
Expand Down
Loading