Skip to content

Commit 480878d

Browse files
chore: generated SDK types (#417)
Automated regeneration of SDK types. Co-authored-by: braintrust-bot[bot] <215900051+braintrust-bot[bot]@users.noreply.github.com>
1 parent 2f2b2f8 commit 480878d

3 files changed

Lines changed: 27 additions & 1 deletion

File tree

generated_types.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7733,6 +7733,9 @@
77337733
"maximum": 1,
77347734
"description": "The sampling rate for topic automation"
77357735
},
7736+
"facet_model": {
7737+
"$ref": "#/components/schemas/TopicAutomationFacetModel"
7738+
},
77367739
"facet_functions": {
77377740
"type": "array",
77387741
"items": {
@@ -7878,6 +7881,18 @@
78787881
],
78797882
"description": "Optional data scope for topic automation."
78807883
},
7884+
"TopicAutomationFacetModel": {
7885+
"type": [
7886+
"string",
7887+
"null"
7888+
],
7889+
"enum": [
7890+
"brain-facet-latest",
7891+
"brain-facet-1",
7892+
"brain-facet-2"
7893+
],
7894+
"description": "Optional facet model override for topic automation"
7895+
},
78817896
"TopicMapData": {
78827897
"type": "object",
78837898
"properties": {

py/src/braintrust/_generated_types.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2419,6 +2419,14 @@ class TopicAutomationDataScopeTopicAutomationDataScope2(TypedDict):
24192419
"""
24202420

24212421

2422+
TopicAutomationFacetModel: TypeAlias = Literal[
2423+
'brain-facet-latest', 'brain-facet-1', 'brain-facet-2'
2424+
]
2425+
"""
2426+
Optional facet model override for topic automation
2427+
"""
2428+
2429+
24222430
class Function1Function1(TypedDict):
24232431
type: Literal['function']
24242432
id: str
@@ -3333,6 +3341,7 @@ class TopicAutomationConfig(TypedDict):
33333341
"""
33343342
The sampling rate for topic automation
33353343
"""
3344+
facet_model: NotRequired[TopicAutomationFacetModel | None]
33363345
facet_functions: Sequence[SavedFunctionId]
33373346
"""
33383347
Facet functions used by the topic automation

py/src/braintrust/generated_types.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Auto-generated file (content hash 2046371fcb54d28e) -- do not modify"""
1+
"""Auto-generated file (content hash 56952ef4659f447d) -- do not modify"""
22

33
from ._generated_types import (
44
Acl,
@@ -101,6 +101,7 @@
101101
ToolFunctionDefinition,
102102
TopicAutomationConfig,
103103
TopicAutomationDataScope,
104+
TopicAutomationFacetModel,
104105
TopicMapData,
105106
TopicMapFunctionAutomation,
106107
TopicMapGenerationSettings,
@@ -216,6 +217,7 @@
216217
"ToolFunctionDefinition",
217218
"TopicAutomationConfig",
218219
"TopicAutomationDataScope",
220+
"TopicAutomationFacetModel",
219221
"TopicMapData",
220222
"TopicMapFunctionAutomation",
221223
"TopicMapGenerationSettings",

0 commit comments

Comments
 (0)