
Dynamic Model Routing
Some new experimentation around dynamically understand the type of query and routing to the best model for the task - simpler, cheaper models for the easier stuff and smarter, more…
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
OK. Here I want to demonstrate uh um the operation of the AM router. So, let's say I started at a faster level to really keep costs down. And now I say uh show me sales for a certain period. And here you see that this is a data issue that the standard tier handles better than the fast tier, okay?
We will use the standard level. And now, as you can see, the connected AM has switched to the standard level. Let's start the analysis. In the background, we have some fixed rules, and depending on the page, the user role, and whether the cache is hot or cold, we determine whether to allow the agent to switch to another AM.
And in the meantime uh we run jab as a decision-making mechanism to say, based on the query, whether it's really a simple or complex case, and then it decides whether to raise um or lower the AM levels. So, for now, we are only deciding which level to use, not which AM. Later, when the user can choose different AMs , we will be able to direct requests to a specific AM.
OK. So, here, okay. And you see that something is happening here, and I'm really curious about why the decline happened. So let me ask why there is a dip at the end of the graph . And you see that this is a deeper analysis. So, the smarter level handles this better than the standard one. Okay, let's use a more sensible level.
Good. Wow. Okay, they gave me an answer instantly, without wasting any time. Okay, turn this into a dashboard. So as you can see, here it doesn't suggest any more changes because even though the standard tier should be used to create the dashboard, as we continue the conversation, the cache remains hot. Therefore, we suggest not switching, as this will actually result in a cache reset.
Okay . This is just a proof of concept, but it gives some idea of how we want or how we could potentially implement this LLM routing, right?