It really shines when you use that decision routing in industries where they need to automate these routings reliably with very low latency, higer certainly and ,more important, at scale. Take call centers for example. If a voice company needs to automate escalation etc. an llm would be an overkill. That's where system 1 models shine.
If it was simple they would just use an LLM to write code to do it. These decisions are “fuzzy” in the sense that they are difficult to make in just code. They need the “smarts” of a language model to evaluate something, but the final answer is basically trivial (e.g. choose one of these five options, not write me 20 page of text or one shot this whole complex program).
There are a lot of those types of problems in the world, replacing what was previously spotty hardcoded decision logic that worked 70% of the time with something that now gets it right 95% of the time. Even if not perfect, the fact that you can dramatically close the gap means a lot lower cost overall, so it’s worth it.
It is. But the thing is, that is also a lot of the usage for "AI" these days. LLM based search pipelines are being deployed but not really used. Chatbots are a great hit. And then of course, in coding, finance, sales, accounts and audit, etc, it is being used to accelerate output.
These guys also love text to sql. I know 4 people each implementing text to sql for their separate companies. Or text-to-redash dashboard in some cases. Funnily enough, text to sql is one of the things where LLMs are clearly sub-human. Mostly due to lack of easy verifiability.
> These guys also love text to sql. I know 4 people each implementing text to sql for their separate companies.
Text to SQL is a really bad idea, as the agent will just generate really convincing and terrible analyses that lack all business context.
I mean, you could implement some kind of semantic layer, but that's a lot of work, for uncertain reward.
I saw a place which essentially tasked the data analysts/scientists in an area to describe the good tables, and assumptions and necessary context to make decent queries/analyses, and that definitely lead to much, much better (almost usable) results.
As I have said many times, what the world really needs is SQL2Text, rather than Text2SQL.
> I saw a place which essentially tasked the data analysts/scientists in an area to describe the good tables, and assumptions and necessary context to make decent queries/analyses, and that definitely lead to much, much better (almost usable) results.
Yep. After this has been done, the later text to sql outputs works half decent. The major issue I heard was that whenever a small assumption changes few months down the line, while humans are able to "JIT" apply it to each of their queries, these models sometimes lose it in all of the context and so it becomes hard to progressively update anything - you end up having to redo the whole workflow.
And in my experience, even the more complex dashboards requested by product or upper mgmt were stood up within the day by humans. Or the next day (but that was cos some ETL would be scheduled overnight rather than immediately). And I am not sure if speeding up this part would even matter to the guy who requested the dashboard. So I am not sure if this is a major bottleneck people should try to innovate in. If openai does the work for you then great but otherwise. Humans aided by copilot-of-old style autocomplete is probably more than enough.
Needless to say, text to sql is pointless for application queries made during API calls.
Yeah, it's not the development but the maintenance that kills you in both software and other information fields.
The whole text to SQL thing is about data teams being a bottleneck to the business (rather like software people). The goal is good in theory but honestly an Excel plugin is probably a better solution in many cases.
It's pretty high value add when you consider it's replacing human beings assessing each case. This category of thing is present all over enterprises. It was outsourced to BPO shops in India and the Philippines before, now it's going to AI.
But you're right that more complex solutions are still a bit elusive. I use a bot to plan my strength workouts based on my soreness level and what equipment I have available and it's decent, but not perfect.