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 @@ -8334,6 +8334,14 @@
"type": "boolean",
"description": "Whether new topic generation should ignore the previously saved report during reconciliation. Defaults to false when omitted."
},
"reconcile_mode": {
"type": "string",
"enum": [
"evolve",
"names_only"
],
"description": "How reconciliation carries the previous map forward: \"evolve\" re-routes new samples into the previous topics before naming; \"names_only\" keeps the fresh clustering and carries only topic ids/names. Defaults to \"evolve\" when omitted."
},
"distance_threshold": {
"type": "number",
"description": "Maximum distance to nearest centroid. If exceeded, returns no_match."
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 @@ -3569,6 +3569,10 @@ class TopicMapData(TypedDict):
"""
Whether new topic generation should ignore the previously saved report during reconciliation. Defaults to false when omitted.
"""
reconcile_mode: NotRequired[Literal['evolve', 'names_only'] | None]
"""
How reconciliation carries the previous map forward: "evolve" re-routes new samples into the previous topics before naming; "names_only" keeps the fresh clustering and carries only topic ids/names. Defaults to "evolve" 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 7817da7abc7229e4) -- do not modify"""
"""Auto-generated file (content hash 8edae789624e11d2) -- do not modify"""

from ._generated_types import (
Acl,
Expand Down