AI retry and better AI filters

Steven Talbot · Friday Demos · April 11, 2025 · 7:49

Continuing work to make sure AI always returns results for natural language queries. Plus lots of work to improve recall on time filters.

Transcript

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

  1. OK. Uh, I mentioned that I'm working on some AI stuff , most of it " under the hood" so it's hard to demonstrate. But to show one thing without that—even more retries, which is the main theme of the demonstration—we'll show how interesting language models (LLMs) are. I can ask the model about that. Uh, basically, I'll ask her to make a few mistakes and then succeed.

  2. Can you zoom in a little? Oh, yes. Of course. Can I ask the model to do this every time during my demonstrations? Uh, no, you see, she does it once anyway. Hmm . But overall it would be worth it . Yes, okay. Here it is, it has begun. Something went wrong. Oh, she's still trying. Er , sometimes she doesn't do the third step because of "off-by-one" errors.

  3. But let's see. Oh, no, here it is. I did it. Uh, so she's really trying. She continues. And then I think she has to think hard, because the system requires her to make a valid request, and I force her to generate an invalid one. But here, please. Finally, she generated the correct query. Um, maybe she revealed a confidential number.

  4. Well, okay. Uh, but I partly wanted to demonstrate this because it's a real topic. I've never been here before , but I dropped by 5 minutes before the meeting because we were trying to improve filter generation. Um, so if I say, uh, I'll ask her about our weekend expenses. Um, and it's not that confidential. What can you say about a business intelligence company based on its weekend activity?

  5. Hmm, let's see what she does. The more complex the question you ask, the longer it takes—it needs more time to think. Oh, and here it is. What she did didn't work, but we'll see if the retry feature fixes it. Stephen, while this is going on, what exactly does this feature do? Essentially, if it issues an invalid request, it is rejected and the system tries again.

  6. Hmm, it didn't work this time . It worked before. But if we "shout" at her, sometimes you just have to say it. So, can you summarize it as: you tell her to try harder, and she does it? Kind of like , I mean, here it is, it's started. So, yeah, this is similar to what I did when I first tried this.

  7. Um, look, it made Saturday. But I think what it will do, what it will show, if I, if it goes down this path, is that at some point it will become more expressive than our current filter interface. Let's see. No. Well, okay. That's why I have demo versions. I don't know why I ca n't do it. Everything just worked.

  8. Maybe it's worth giving up. Um, but it's doing it now. It only does it on Saturdays. I do n't know why. Well, let 's try again. And if that doesn't work, I'll show you something else that might not work either, because the AI ​​demo gods are clearly not happy with me right now. And by the way, all of this uses a new...

  9. All of this under the function flag. Here, please. It did it. See? This means that it generated a filter that was valid according to our filter specification, but our interface currently cannot handle " last fiscal year" and "Saturday or Sunday". Ahem. I love the three-attempt feature. It really gives you insurance during a live demonstration that you won't get a bug.

  10. I've never seen it give an error three times in a row. Oh my God. Well, okay. I don't know what it's doing today, or not today, that is, now compared to What were you hoping for in this case? For example, comparing two periods. Ahem. OK. But yes, there is still a lot of work to do, of course.

  11. We will continue to work, but I think it is getting better. I think it's learning to create better filters. Um, yes. Sorry for the long demonstration. It's a little slow when you ask random questions like that. But I guess we'll just have to wait and see if it can handle this . But now it is really having difficulties.

  12. Did you say this theme is not optimized for Annie at all? No, I just jumped on this topic . So, let me find a topic that won't be too sensitive. Anyway, well, it's sad. But it worked before. Um, I could show it to make it a little less awkward. I kept a tab where I did this, where it answered correctly when I asked, " How much do we spend on the weekend?"

  13. It worked. Um, and it ...I asked how much was spent over the weekend, and I got the correct answer. Then I asked for a breakdown of the costs, and he did. Later, I asked him to compare the periods, and he almost managed it. It generated a slightly incorrect comparison format, which resulted in a strange "null". But the point is, I worked hard on it.

  14. The consistency of the results is simply amazing. You formulate it a little differently, you start differently—and you get completely different results. But Yes. I wonder how much it depends on the previous conversation, because if he's going the wrong way from the start, he's using his previous bad answers. Yes, and this builds on the previous answer. Yes, this is a hypothesis.

  15. Yes.