Cherry-pick commits from chatbox-pro repo to the open chatbox repo, handling mobile-only files, package name differences, and other repo-specific exclusions.
日本語の概要は準備中です。原文の説明を表示しています。
Run and debug Chatbox session attachment RAG model evaluation with synthetic and real long-file fixtures.
インストール方法を見るインストールする前に、エージェントに与えられる指示の中身を確認できます。
Use this skill when validating file question-answering behavior for large chat attachments.
Verify both sides of model behavior:
query_session_attachment when the answer depends on an uploaded large file.Prefer the Chatbox conversation-flow harness for product validation because it exercises the real renderer, config, license, local API, file upload, indexing, tool registration, and persisted messages.
Default fixture repo:
../../chatbox-session-rag-eval-fixtures
Fixture types:
Regenerate fixtures in the fixture repo:
node scripts/generate-fixtures.mjs
node scripts/fetch-real-fixtures.mjs
Start the local API before running the harness. Then build with USE_LOCAL_API=true; the renderer API origin is compiled
into the bundle.
USE_LOCAL_API=true node ./node_modules/electron-vite/bin/electron-vite.js build --mode development
pnpm eval:session-rag:chatbox -- --case long-citrine-threshold --keep-user-data
The harness copies the real config.json into an isolated temporary userDataDir, injects a temporary default chat model
if missing, and stores the session RAG sqlite DB at a separate temporary path.
session_attachment_embedding capability is false or unavailable for the
active local API/license path.USE_LOCAL_API=true.sessionAttachmentIndexStatus: "ready" before context building.pnpm eval:session-rag:chatbox -- --case long-citrine-threshold
pnpm eval:session-rag:chatbox -- --case implicit-citrine-current-policy
pnpm eval:session-rag:chatbox -- --case real-wiki-apollo-implicit-landing-site
pnpm eval:session-rag:chatbox -- --case multi-turn-real-wiki-apollo-followup
pnpm eval:session-rag:chatbox -- --case unrelated-simple-math
pnpm eval:session-rag:chatbox -- --case real-wiki-unrelated-capital
For fast model-behavior iteration without Electron:
pnpm eval:session-rag -- --dry-run
pnpm eval:session-rag -- --case implicit-citrine-current-policy
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Cherry-pick commits from chatbox-pro repo to the open chatbox repo, handling mobile-only files, package name differences, and other repo-specific exclusions.
日本語の概要は準備中です。原文の説明を表示しています。
翻译 Chatbox Pro 当前未提交改动、暂存改动或用户指定 commit/range 中新增或受影响的 i18n key。当用户要求翻译、补全与改动 UI 文案相关的翻译时使用。Agent 需要阅读 diff 和组件上下文,遵守 skill 内置 glossary,并直接写 locale JSON;脚本只用于最后校验。
日本語の概要は準備中です。原文の説明を表示しています。