4 ms·
Seems a little bit of an unfair generalisation. I mean, this is an unsolvable problem with chat interfaces, right? If you use a plugin that is integrated with
by wokwokwok 2y ago
Seems a little bit of an unfair generalisation.
I mean, this is an unsolvable problem with chat interfaces, right?
If you use a plugin that is integrated with tooling that check generated code compiles / passes tests / whatever a lot of this kind of problem goes away.
Generally speaking these models are great at tiny self contained code fragments like what you posted.
It’s longer, more complex, logically difficult things with interconnected parts that they struggle with; mostly because the harder the task, the more constraints have to be simultaneously satisfied; and models don’t have the attention to fix things simultaneously, so it’s just endless fix one thing / break something else.
So… at least in my experience, yes, but honestly, for a trivial fragment like that most of the time is fine, especially for anything you can easily write a test for.
- dotancohen 2y agoAnd you can have the LLM write the test, too.