AI on Bedrock and AI retry

Steven Talbot · Friday Demos · April 4, 2025 · 4:20

We're moving blobby into AWS Bedrock (powered by Claude), to reduce the surface are of where customer metadata is used and simplify subprocessor requirements. We also added new…

Transcript

This transcript is auto-generated. Names and product terms may be wrong.

  1. All right. Um been working on AI stuff this week. Uh so two things, two uh main things. One is we added this retry capability. So it's a little interesting to demo because I got to find a query that I think will break and then succeed. But basically, let's try it. I think this works because these kind of date filters are known to confuse.

  2. Yeah. So there, there you go. So it did something, the thing didn't work. We told it the thing that it did that didn't work. And so then it tried again and got it right. Um, so that's uh that's working. And I think we may just end up upping right now. It only does it once really. there's not much reason for it to show you an error unless it like tries five times and doesn't.

  3. So, we may just end up upping that number. Um, the second thing, and this is also a uh a bit of a PSA, um, the we've got we've released now we're trying to potentially migrate our query generation to use Bedrock, um, which also uses a different, uh, different OM under the hood. So, I've got we've got this RAM that you can drop into a URL anywhere.

  4. uh features create query I use bedrock for reasons obscure right now it's only going to work in the United States we'll fix that soon uh but anywhere in the United States on a US instance you can drop this in and you get this different experience so let's I'm going to ask it show me which engineers this is our GitHub data uh show me which engineers tend to review each other's PRs and you get to see a speed and correctness comparison with an example that I prepicked that has the new one looking good.

  5. Doesn't always look good. So, this one returned faster the old one, but what it gave me was just nonsense. Uh, but this other the new one got it right. More importantly, uh, this new thing, this new behavior, it spat out this little uh, explanation of what it was doing. Um, this one isn't so useful. pretty much is saying like I did it.

  6. Uh sometimes though it's actually it can actually be more useful. Let's see how well this works. This so I'll ask it this query. Let me just clear everything. Um this query when I just tried it a minute ago, neither of them gave a good answer, but I hadn't really thought about which one I was asking. Uh, so I'm asking it.

  7. Show me which engineers have started this year. Oh, here's an example of the retry behavior on the old one. Oh, yeah. I'll say the old one really choked. Uh, the new one um that did something, but it didn't also didn't quite get it right. It got a lot closer. But what I realized by having it explain it, I realized, oh wait, this actually like isn't really the kind of query that you can like single pass answer, right?

  8. You need to do like build make a cohort of like all engineers who have commits before this year and then filter those out. So it like actually isn't cable and like um by just that little explanation. The other one when I tried earlier was was better, but like it gives you like oh yeah, okay, okay, let me think about this.

  9. though. Anyway, we're we're still we're gonna we haven't we just got this going. There are cases where it doesn't work as well. Hopefully, we can tackle those and and it's also a little slower. Um so, we'll we'll keep playing with it. Hopefully, we can get something fully released.