
AI Evals
Prompt set benchmarking, branch comparisons, and judge scoring for all your AI building.
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
Uh, all right. So, the next piece uh that will go into AI Hub if I can share the right thing. Is uh a tool we're going to try to get folks to um think a little bit, dive a little bit more into quality and and how changes to their uh suggestions that they incorporate are are the things that affect their performance and cost and and things like that.
Is the size okay on this? Uh hopefully. Okay. So, um looking at a branch here um of my local e-comm model. And the only change on this branch uh really is just this very minor AI settings. But you could imagine any number of changes that could go into here that you want to uh sort of compare how this might affect uh performance and quality of your uh of your users.
Um I'm in the the model uh editing window here. This beaker, when we ship it, will go into uh AI Hub. Currently just lives here. Again, ignore the uh ugly UI. Sarah's got some beautiful stuff coming up. Um and um in our sort of AI eval uh portion of AI Hub, um we have over here the ability to curate a set of uh prompts that you want to run um and kind of benchmark.
Um I have two listed here. Uh I I'm going to start this one here uh just two really simple questions. Um I can choose uh either to run it on my shared uh branch model or shared model or choose a branch that I have. Um I can kick that off and it will uh start running these prompts in the background.
Uh while it's doing that, we'll go over to uh another sort of a uh benchmark that I have that I populated with some honestly questions that Bobby gave me. We could talk a little bit more about how customers would populate these questions and whatnot, but um and rather than run this right now, I'm just going to look at a couple of runs that I did.
Uh one run against my shared model uh has this table of results where I'm giving metrics on um how much that prompt uh cost would have prompt would have cost, um kind of the speed and uh sort of a pass/fail metric um for eval. And let's look a little bit more into detail of what or this kind of eval uh represents.
So, here's a here's what the chat looked like uh for this question. You can kind of look at it, see what happened. Um so, we don't need to do the chat. And down uh at the very top, you see again, this is all subject to design changes here. Kind of an overview of how eval went on this.
Um and down here we see uh chip for the analysis judge. The analysis marked this as a fail, uh gave a rationale, and decided it was 92% confident. Again, this is work in progress, lots of tuning. Uh this analysis judge is based off of our current um validated analysis tool that is uh part of you know, Bobby's the experience if you choose to enable it.
Uh but it'll diverge over time. Um and uh and we can even add more more judges, but um going back to this view, uh we're offering sort of some some some basic in-app um comparisons. The the goal would be to again get this data back into uh the main you know, like ETL to warehouse and put it on the main page, uh so you can get to do smarter Omni based data analysis, but uh for now we have a side-by-side uh comparison that you can do.
Again, super ugly. It's going to get beautified, look a lot better. Um but here's all my prompts on the left. Uh this is how run one did and how run two. Uh, again, huge caveat here. Uh, smarter, if you remember the diff, I uh, turned on the smartest level, which is Opus, cuz I'm on Bedrock uh, for this.
Uh, and I set thinking budget to high. Um, so, cost quite a bit more. Um, took a little bit longer. And it went what, like, our judge went down. Um, again, a lot of work to be do and not a lot. Definitely we want to throw some tuning uh, at the at the eval judge that we have for, you know, the start and and make sure it's doing the right thing.
But, you can kind of look at this comparison side by side. Um, so, I think we go back real quick. Yeah, we can see that uh, yeah, this run completed. Um, these all run in the background. Um, and yeah, I think that's all I have to say about that. Just to add real quick to just around like, so the idea here is obviously people can come in, they can create prompt sets.
This is a great way as they're getting started, especially like in a POC, if there's things they really care about and kind of want to track towards, they'll have a way to kind of measure how they're performing against those things. Um, they can go and kind of make changes in a branch or the vision here really being that like, hooking up with Chris's work, this is stuff that could potentially just autonomously kind of flow and you can track towards getting those things correct.
So, there's a lot of kind of potential having the the different pieces here as they start to fit together. Um, and really nice kind of harmony between the between kind of both sides of the being able to test this stuff and then eventually we're working towards having people be able to put in like expected results, so they have something to kind of specifically shoot for and as Joel mentioned, a lot of possibility to expand out on kind of more customization around judges or how you want these things scored and all of that as well.
Uh, Joel, quick question. Yeah. Looks like this is um, embedded inside of the develop section right is the thought that it'll move over to the AI AI hub. Thanks so much for queuing me up, Chris. Oh, yeah, go for it, Sarah. Please stop sharing. Oh, I'm sorry, Sarah. No, that's okay. That's a great question. Well, this is just a preview.
This is some just some mocks just to show you where we're kind of starting. These are not in any way set, but like you can see in AI hub we'll have the suggestions be living in here. Um, definitely some work to do in how we'll get like bulk implementation and whatnot, but um, we'll also have like the evals listed out in here and you'll be able to drill in and compare them.
And then also build and manage your prompt sets here. And so you can build out your questions and manage them all your prompts here as well. So, it'll all live together in our in our AI hub so you can um, manage all your quality and performance there. Yeah, and I think last note here is really that the goal is to, you know, actually have everything kind of be agentic.
And so, uh, we do want to get side-by-side lobby in there kind of you don't have to leave the hub to make a lot of these changes. And so, uh, that's that's really the goal.