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
24 changes: 24 additions & 0 deletions generated_types.json
Original file line number Diff line number Diff line change
Expand Up @@ -1802,6 +1802,26 @@
"index"
],
"title": "scorer"
},
{
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"classifier"
]
},
"index": {
"type": "integer",
"minimum": 0
}
},
"required": [
"type",
"index"
],
"title": "classifier"
}
]
}
Expand Down Expand Up @@ -7848,6 +7868,10 @@
"generation_settings": {
"$ref": "#/components/schemas/TopicMapGenerationSettings"
},
"disable_reconciliation": {
"type": "boolean",
"description": "Whether new topic generation should ignore the previously saved report during reconciliation. Defaults to false when omitted."
},
"distance_threshold": {
"type": "number",
"description": "Maximum distance to nearest centroid. If exceeded, returns no_match."
Expand Down
15 changes: 14 additions & 1 deletion py/src/braintrust/_generated_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,10 +453,19 @@ class CodeBundleLocationPosition1(TypedDict):
index: int


class CodeBundleLocationPosition2(TypedDict):
type: Literal['classifier']
index: int


class CodeBundleLocation(TypedDict):
type: Literal['experiment']
eval_name: str
position: CodeBundleLocationPosition | CodeBundleLocationPosition1
position: (
CodeBundleLocationPosition
| CodeBundleLocationPosition1
| CodeBundleLocationPosition2
)


class CodeBundleLocation1(TypedDict):
Expand Down Expand Up @@ -3358,6 +3367,10 @@ class TopicMapData(TypedDict):
Mapping from topic_id to topic name
"""
generation_settings: NotRequired[TopicMapGenerationSettings | None]
disable_reconciliation: NotRequired[bool | None]
"""
Whether new topic generation should ignore the previously saved report during reconciliation. Defaults to false when omitted.
"""
distance_threshold: NotRequired[float | None]
"""
Maximum distance to nearest centroid. If exceeded, returns no_match.
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 0f1f3f6a1bd64d86) -- do not modify"""
"""Auto-generated file (content hash 6a3eaf06ccb50b7d) -- do not modify"""

from ._generated_types import (
Acl,
Expand Down