Synaplan
开源 AI 软件平台,面向企业:自托管 AI 代理,符合 GDPR 的聊天机器人小部件,RAG 知识库,WhatsApp 与 Outlook AI,MCP,多模型路由。支持 Docker、Kubernetes 或在 Germ 托管。
AI 翻译
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗UK to EU shipment booking by chat or spreadsheet upload, with a deterministic pre-flight checker (rules R-01 to R-10) and carrier recommendation. See PREFLIGHT_CONTEXT.md for the full brief.
npm install
cp .env.example .env.local # add GEMINI_API_KEY (optional; the app works without it)
npm run dev # http://localhost:3000
npm test # Vitest: rules, parser, real xlsx round-trip
lib/engine/engine.ts rules, carrier logic, spreadsheet reading. Ported unchanged from the prototype. Pure, no DOM.lib/parse/chat.ts built-in chat parser and AI-merge helpers. Ported unchanged.lib/pf.ts typed boundary (the two modules above are @ts-nocheck).app/api/parse-message Gemini call. Returns JSON; the client sanitises it, the engine does all checking.app/api/second-opinion advisory restricted-goods check (not one of the ten rules).app/api/uploads saves each uploaded spreadsheet (original file plus per-booking results) to Neon. Optional; skipped when DATABASE_URL is unset. No endpoint returns stored files.lib/server/db.ts, lib/server/uploads.ts, db/schema.sql Neon access, server-side analysis, table definition (created automatically on first save).lib/fixes.ts corrections (apply, log, reset, corrected-file rows). They only change data; the unchanged rules engine decides.app/api/bookings + lib/server/booking.ts records a booking. The server re-runs the rules engine and refuses any booking with a red issue.components/ React UI. legacy/ the original prototype scripts, for reference.Set GEMINI_API_KEY in .env.local locally and in Vercel project settings for deploys. Optional: GEMINI_MODEL (comma-separated fallback chain; default gemini-3.5-flash-lite,gemini-flash-lite-latest,gemini-3.8-flash), GEMINI_DAILY_CAP (default 400). On any error, 429 or timeout the client falls back to the built-in parser.
Set DATABASE_URL (the Neon connection string, starting postgresql://) in .env.local and in Vercel. Stored files can be read in the Neon console SQL editor, for example select filename, booking_count, red_count, created_at from uploads order by created_at desc;.