Menu

How we stop our AI budgeting coach from making up numbers
📰

How we stop our AI budgeting coach from making up numbers

DEV Community: reactnative·Danyal Muneer·10 days ago
#r8SFvFhA
#devtoreactnative#devto#dev#model#facts
Reading 0:00
15s threshold

I'm building Finovaa , a budgeting app with an AI coach. It's launching on iOS and Android soon.

The scariest bug in a money app isn't a crash. It's the coach confidently telling you that you have $240 left when you have $24. A crash is obvious. A wrong number said in a friendly voice gets believed.

So the coach is built on one rule, and four pieces of code enforce it.

The rule: decide locally, let the model only rephrase

Every coaching surface has to be correct, instant and useful before any model is called . The model's only job is to reword a decision the app has already made. If the model is slow, down, over quota, or wrong, the user still gets the right answer.

1. A pure signal engine decides what to say

Detectors for budget pace, unusual spending, recurring charges, goal gaps and month-end shortfall run as pure, synchronous functions over data the screen has already loaded.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.