Better HN
topnewbestaskshowjobs
Log inSign up

costinu

3 karma · joined Mar 2, 2024 (2y ago) · 7 submissions

Submissions

comment 12h ago · link · parent

I picked this one up via the Google Maps API. One of my background services got stuck in a loop calling it and I discovered this from the invoice (we were looking at £4k). We had a budget alert in place and it was absolutely going to be a waste of money as it works off billing data which comes in hours after the actual usage has occurred.

What I do now is just assume the provider will tell us late and rely on our own side. Each service maintains a running count of its calls, compares that against what a 'normal' hour would be and will just stop itself if it's way outside that. The quotas are set very close to actual usage so a runaway loop will hit 429s rather than my card. The cost alerts will still be on, but they're just a last resort.

The annoying bit is that the provider have the usage numbers in real time (as they're actually enforcing the quotas). It's only the money view that's slow.

comment 2w ago · link · parent

Local md files work fine when it's just you on your own machine, but for an app/service with thousands of users, using md files will be challenging.

You also need to handle duplicate or conflicting facts, and that becomes a burden as the memory grows.

Many app builders might start using a vector database. This will help with storage and organising data, but will fall short on keeping an accurate memory when facts change.

So I think there is a market, but only for the multi-user case.

3.

Show HN: Recalld – A memory layer for AI agents that returns only relevant facts(recalld.ai ↗)

4 points · by costinu · 2mo ago · discuss