Update consumable pipeline, client API docs, and deployment config
- Refine effective candidate consumables and classifier labels - Adjust vision algorithm, TSV logging, and video session wiring - Refresh client surgery HTTP contract doc and staging/video docs - Update settings, docker-compose prod, tests, and uv.lock Made-with: Cursor
This commit is contained in:
@@ -36,8 +36,8 @@ class SurgeryStartRequest(BaseModel):
|
||||
description=(
|
||||
"本次手术可能使用到的耗材子集(可选)。"
|
||||
"非空时仅对该清单内名称做自动记账与待确认追问。"
|
||||
"缺省或空数组时,使用服务端配置的耗材目录 Excel 全部商品名;"
|
||||
"未配置目录则使用分类模型全部类名。"
|
||||
"缺省或空数组时,使用 consumable_classifier_labels.yaml 中全部类名;"
|
||||
"无有效 yaml 则使用分类模型全部类名。"
|
||||
),
|
||||
)
|
||||
|
||||
@@ -96,8 +96,8 @@ class SurgeryConsumptionDetail(BaseModel):
|
||||
|
||||
item_id: str = Field(
|
||||
description=(
|
||||
"业务物品标识:优先为耗材目录中的产品编码;"
|
||||
"目录键经名称归一化后与分类类名匹配,未命中目录时与模型输出类名一致。"
|
||||
"业务物品标识:来自 consumable_classifier_labels.yaml 的 label_id;"
|
||||
"类名经归一化后匹配,未在 yaml 中配置 label_id 时与模型类名相同。"
|
||||
),
|
||||
)
|
||||
item_name: str = Field(description="物品名称(分类或确认后的展示名)。")
|
||||
|
||||
Reference in New Issue
Block a user