Repository navigation
制度问询:员工要办事时,讲清规定后按步骤告诉他怎么办 - #101
Open
baozhoutao wants to merge 1 commit into
Open
baozhoutao wants to merge 1 commit into
baozhoutao wants to merge 1 commit into
Conversation
员工问的事需要他本人去申请、报批、报销或办理时,不论问的是规定、标准, 还是只说了要办什么,答复在结论后加一段「怎么办」,按先后编号写谁办、 做什么、交什么表、谁审批、时限,只写条文里有的。办理程序并入第一步检索, 按命中条款所在各节一次取全,不逐个环节检索,避免超出一轮预算。 为放进平台 6,000 字符的应用技能上限,缩短英文描述,删去 4 处重复句。 长度测试改为按平台 composeSkillSection 的方式拼出整段再量,原来的估算 没算标题行和 Tools 行。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
员工问的事需要他本人去申请、报批、报销或办理时,答复除了讲清规定,还会按先后顺序告诉他怎么办。本地实测总分从 75% 提高到 83%。先不合并:维护者还要继续优化。
改了什么
composeSkillSection的方式拼出整段再量。原来的估算没有算标题行和Tools:行。要注意
平台对应用技能每轮有 6,000 字符的上限,超出时整份技能会被丢掉,只在日志里留一行,模型就退回用通用工具作答。这一版拼出来是 5,967 字符,只剩 33 字余量,下一轮改技能必须先删字。长度测试会在超出时报错。
测试
本地 3030 环境:检索方式为只用向量,存储是 pgvector,模型 DeepSeek flash。三个版本对比:
60 道题,每个版本跑 2 次。打分时把同一道题的 6 个答案放在一起,隐去版本后由另一个模型盲评,满分 2 分。
本地测试:
vitest17 个文件、151 个测试通过;pnpm run validate通过。🤖 Generated with Claude Code