From c97eaa1a4804bbe6e523675dabfaa1dda44cca17 Mon Sep 17 00:00:00 2001 From: "braintrust-bot[bot]" <215900051+braintrust-bot[bot]@users.noreply.github.com> Date: Sun, 26 Apr 2026 19:03:28 +0000 Subject: [PATCH] chore: generated SDK types --- generated_types.json | 24 ++++++++++++++++++++++++ py/src/braintrust/_generated_types.py | 15 ++++++++++++++- py/src/braintrust/generated_types.py | 2 +- 3 files changed, 39 insertions(+), 2 deletions(-) diff --git a/generated_types.json b/generated_types.json index 82ea308d..8196778a 100644 --- a/generated_types.json +++ b/generated_types.json @@ -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" } ] } @@ -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." diff --git a/py/src/braintrust/_generated_types.py b/py/src/braintrust/_generated_types.py index 25c428d8..80496f19 100644 --- a/py/src/braintrust/_generated_types.py +++ b/py/src/braintrust/_generated_types.py @@ -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): @@ -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. diff --git a/py/src/braintrust/generated_types.py b/py/src/braintrust/generated_types.py index ed6c3c99..bbebd23b 100644 --- a/py/src/braintrust/generated_types.py +++ b/py/src/braintrust/generated_types.py @@ -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,