Skip to content

isabelccc/prox-challenge

 
 

Repository files navigation

Vulcan OmniPro 220 — Multimodal assistant

Vulcan OmniPro 220 OmniPro 220 panel

Quick start (under ~2 minutes after clone)

git clone git@github.com:isabelccc/prox-challenge.git
cd prox-challenge
cp .env.example .env # add ANTHROPIC_API_KEY
npm install

One-time knowledge build (downloads local embedding model ~23MB; optional Claude vision per page):

npm run extract
# Cheaper dev iteration:
# SKIP_VISION=1 npm run extract

Run the UI:

npm run dev
# http://localhost:3000

What you get

  • Next.js 15 + TypeScript chat UI (streaming SSE), voice input (Web Speech API), dark industrial styling.
  • Tool-using agent (@anthropic-ai/sdk): search_manual, get_specifications (page-7 structured duty/current tables), troubleshoot, generate_artifact (HTML / SVG / Mermaid in a sandboxed iframe), suggest_followups.
  • Knowledge pipeline: MuPDF → per-page text + PNGs → (optional) Claude vision descriptions → local all-MiniLM-L6-v2 embeddings → LanceDB vector index.
  • Benchmarks: npm run eval:retrieval checks that retrieval hits contain expected keywords (no LLM call).

Commands

Command Purpose
npm run dev Chat UI + API
npm run build Production build
npm run extract Build data/knowledge.lance + data/images/*.png
npm run eval:retrieval Keyword checks on top-k retrieval

Project layout

  • app/api/chat — SSE agent loop
  • lib/agent/* — tools, embeddings, LanceDB
  • lib/data/specifications.ts — structured p.7 specs
  • scripts/extract-knowledge.ts — PDF ingestion
  • benchmark/benchmarks.json — retrieval smoke tests

Limits / honesty

  • Artifacts execute in a sandboxed iframe; complex Mermaid diagrams depend on CDN availability.
  • Vision during extract improves figure-heavy pages; use full extract before submission demos.
  • Welding safety: user must follow the manual and local codes — the assistant summarizes, it does not replace certified training.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 96.1%
  • JavaScript 3.3%
  • CSS 0.6%