Commit Graph

13 Commits (main)

Author SHA1 Message Date
fengruixiang 14c85787ba 模型输出对比分析:2007_HKCFA_6 v3 2026-05-29 17:47:43 +08:00
fengruixiang abcb2103f1 add multi-model concurrent extraction with per-model output files
--config and --model now accept comma-separated lists to run several
models on one document. Runs execute concurrently via a thread pool
(--max-workers controls parallelism; 1 forces sequential), with logs
prefixed by the config/model label.

Each model writes to its own YAML/cost/debug files by inserting a
sanitized label into the --out name (or the input name when --out is
omitted), and cost is computed per-model from its own profile.
Single-model behavior, including stdout output, is unchanged.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-28 15:16:04 +08:00
fengruixiang bc2b9826d5 prompt for professional legal terminology and enforce monetary subject extraction
Add a standard-legal-terminology instruction to the reason/object,
judgment-result, entities, and summary prompts (ZH + EN). Require
case_object to carry specific monetary amounts, reinforced with a
few-shot example and a context-aware validator that retries when the
source mentions a sum but no amount was extracted.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-28 12:28:39 +08:00
fengruixiang ae1005aab7 add model config profiles and cost tracking
- models.json: named profiles with base url/key/model and per-million token pricing
- support --config <Name> to load a profile, replacing --model/--base-url/--api-key
- accumulate input/output token usage across all API calls in the client
- compute time + token cost per case, written to {out}_cost.json behind opt-in --cost flag

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-28 12:00:48 +08:00
fengruixiang 30959cc26c update 2026-05-18 08:48:36 +08:00
fengruixiang ea2e1f24f2 update 2026-05-15 15:24:35 +08:00
fengruixiang 1c072360d4 update 2026-05-15 14:37:27 +08:00
fengruixiang 4a32806c13 update 2026-05-15 12:52:42 +08:00
fengruixiang 09f5be0180 update 2026-05-15 12:46:31 +08:00
fengruixiang 3851474aa3 qwen3 前后5000 分析结果 2026-05-15 09:15:23 +08:00
fengruixiang 8ff86e74ba update 2026-05-14 18:01:26 +08:00
fengruixiang deeaf741d1 summary-fast 2026-05-14 17:26:13 +08:00
fengruixiang 011adb00d7 update 2026-05-13 18:28:44 +08:00