慣性聚合 高效追讀感興趣之博客、新聞、科技資訊
閱原文 以慣性聚合開啟

推薦訂閱源

博客园 - 司徒正美
V
V2EX
T
Tailwind CSS Blog
有赞技术团队
有赞技术团队
aimingoo的专栏
aimingoo的专栏
Apple Machine Learning Research
Apple Machine Learning Research
IT之家
IT之家
Blog — PlanetScale
Blog — PlanetScale
A
About on SuperTechFans
月光博客
月光博客
T
The Blog of Author Tim Ferriss
宝玉的分享
宝玉的分享
Martin Fowler
Martin Fowler
博客园 - 聂微东
The GitHub Blog
The GitHub Blog
V
Visual Studio Blog
WordPress大学
WordPress大学
酷 壳 – CoolShell
酷 壳 – CoolShell
Engineering at Meta
Engineering at Meta
GbyAI
GbyAI

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python)
吾使Gemma 4分析吾之信用卡账单,免吾亲为之。
Simon Wu · 2026-05-24 · via DEV Community

此乃Gemma 4之挑战提交:以Gemma 4筑之

所筑者何

Swipey者,一本地优先、注重隐私之网络应用也,为往来多家银行、持有多张信用卡之人而设。可自Chase或Capital One导入交易之CSV文件,择一月份,Gemma 4即生成该月之消费摘要:有亮点,有数种模式,有数条建议。复提“群组”之名,将相似交易汇为一组,并合计其消费额,可于行内编辑之。

吾有四张信用卡。吾好集信用卡之回馈积分(他人亦有之乎?!)以助旅费之资。。此常指逐类之赏,一为饮食,一为远行,一为其余。逾二三卡,无单行银行之应用能尽览全局,而有趣之问(“吾本月最大之类别为何?”“此与上月相较如何?”)遂难作答。

首版每月输送交易级数据于Claude。Gemma 4之Swipey持旧流程,然于Cloudflare Workers AI行推论。

演示

流程


注:交易数据为演示而设。

Gemma 4驱动之功能

月度洞见摘要(聚焦、模式、建议)

交易聚合,将同类商家/主题汇合,并总计其消费

代码

Swipey

本地优先、注重隐私之方式,用以管理跨多银行之信用卡消费,以Next.js与PostgreSQL构建

支持Chase及Capital One CSV导出

⚠️ 尚在开发中,仅供本地使用。 此项目意在运行于汝之机器,对本地数据库进行操作。API路径无需认证。若托管于服务器,则任何能触及服务器者皆可读取或修改汝之交易。Docker Compose之配置附有默认开发凭证,此凭证非任何部署环境所宜。勿将此原样暴露于公网。

功能

  • 拖拽 拖拽上传 CSV 文件:以现代拖拽界面上传交易 CSV 文件
  • 账户管理:创建与管理多银行账户
  • 交易预览:导入前预览交易,并检测重复
  • 多银行支持:支持 Chase 与 Capital One CSV 格式

技栈

  • 前端: Next.js 14, React, TypeScript, Tailwind CSS
  • 后端: Next.js API Routes…

吾之用Gemma 4

模型: @cf/google/gemma-4-26b-a4b-it (26B MoE之变体) 于Cloudflare Workers AI上。此乃May 2026年Cloudflare所仅托之Gemma 4变体,然吾择变体之道,具述如下:

  • Gemma 4 2B與4B:適於記憶緊湊之輕量應用,如邊緣部署或設備內部署。吾意,或過小,不敷Swipey合成百餘交易行之事。
  • 31B密集型:品質至高,然參數亦巨。首標記延遲,必超過26B。
  • 26B混成型:延遲可制,而模態維持適質。誠Swipey應用之適變也。

迁转之际,有一顾忌:Gemma 4之设,严于Claude,乃能稳发吾解析之式。其解,乃设系统之谕,必求式之精当,复以XML裹用户之谕,以<output>块示形,以应之。自迁转以来,每运行皆解析无碍。

展望之

最令人瞩目者,乃开源模型如Gemma 4之能,于Swipey所倚之务尤显:分类/聚合交易,撮要一月之支,发见其理。此用例中,Gemma 4实为Claude之良替。夫开源模型日进,吾料其隙将渐狭。

Swipey已显吾未尝思及之用度,令人欣喜莫名,观AI之能,如何增补旧务,显吾所疏之见.

今若君恕,Gemma 4于吾宴饮之习,有言当省。再会!


  1. 慎之。惟每月偿清余额,此法方效。否则,利息之耗,远胜所获。若能负责任行之,则所积之惠,终成实利.