- docs/llm-execution-protocol.md: 从重评流程提取的通用协议(输入/prompt/解析/校验/写入/错误处理) - specs/schemas/reassess-output.json: 重评LLM输出节标题schema - specs/schemas/trade-capture-output.json: 截图识别LLM输出schema - 可复用组件: _section_line/snapshot_strategy_history/write_holding_strategy/门禁模式
12 lines
639 B
JSON
12 lines
639 B
JSON
{
|
|
"description": "交易截图识别 LLM 输出格式",
|
|
"sections": [
|
|
{"name": "交易动作", "field": "action", "type": "enum", "values": ["买入","卖出"]},
|
|
{"name": "股票代码", "field": "code", "type": "string", "constraint": "6位数字"},
|
|
{"name": "股票名称", "field": "name", "type": "string"},
|
|
{"name": "交易数量", "field": "shares", "type": "integer", "constraint": "必须>0"},
|
|
{"name": "交易价格", "field": "price", "type": "number", "constraint": "必须>0,与现价偏差±10%"},
|
|
{"name": "交易时间", "field": "time", "type": "datetime", "format": "YYYY-MM-DD HH:MM"}
|
|
]
|
|
}
|