Files
wehub-resource-sync 542cfa195c
CI / Frontend build (push) Failing after 9m6s
CI / Plugin validate (push) Failing after 9m27s
CI / Python lint (push) Failing after 16m1s
CI / Tests (push) Successful in 18m0s
Deploy / deploy (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:33:27 +08:00

1.4 KiB

PixelRAG

Visual RAG: render documents (web pages, PDFs) as screenshot tiles and retrieve over the images with a Qwen3-VL embedding model. See README.md for the product overview and deploy/README.md for how it runs in production.

Layout

  • render/pixelshot capture (Playwright/CDP, PDF)
  • embed/, index/ — tiles → vectors → FAISS index
  • serve/ — FAISS search API (pixelrag serve)
  • web/ — Next.js frontend (on Vercel) + agent-server.mjs (the chat agent backend)
  • train/separate uv project (LoRA finetune); install from inside train/, not the root
  • deploy/ — systemd units, CD workflow, blue-green scripts

Conventions

  • Python: uv only (uv add, never uv pip install); work in .venv; commit uv.lock.
  • One distribution (pixelrag) with extras; the CLIs are pixelshot and pixelrag <stage>.
  • main is branch-protected — land changes via PRs.

Operational context (host-specific, kept out of this public repo)

Deploy/runtime details that are specific to the live host are not committed here. They are imported below; the import is a harmless no-op anywhere the file doesn't exist:

@~/.claude/pixelrag-ops.md

If deploy-host notes appeared from that import, you are on the deploy host — production services run there, so operate carefully. If nothing appeared, you're on a normal dev checkout and can ignore deployment concerns.