This sounds strange? If I were to build this system (without really having time to think about it), I'd let the AI "build" the order, which would impose some hard limits - like not accepting 18 000 items. Then I'd have the user confirm it without any AI involvement, so you wouldn't end up with bacon in ice cream. This sounds like they just connected an AI directly to ordering functions and that's it?
lokar|6 months ago
skywhopper|6 months ago
binary132|6 months ago
Buttons840|6 months ago
I wonder if we'll ever use AI to write code in dependently typed languages. Dependent types can check almost anything at compile time; they can check that a function returns only sorted data, they can check that the submit_order function only submits valid orders--again, they can check this at compile time.
So, we could express a variety of high level constraints and let the AI go wild, and as long as the resulting code compiled, we would know it was correct, because the type system confirms it.
If we also include an effect system, then the type system could say things like "this function will return a valid Sudoku puzzle solution, and it will not access the network or filesystem", and then, if it compiles, we know the those conditions will hold at runtime.
brokencode|6 months ago
Not saying it can’t be done, but I think it’s a bit telling that no such language has ever caught on.
Unit testing can also be used to verify such constraints and is much simpler. It obviously doesn’t guarantee correct behavior like a proof, but if the tests are comprehensive, it can do a great job.
JumpCrisscross|6 months ago
That's the ordering system the AI crashed by trying to order ten thousand piña coladas or whatnot.
gaogao|5 months ago
Yeah, I write code in Lean with AI pretty frequently lately
jeffwask|6 months ago
3eb7988a1663|6 months ago
unknown|6 months ago
[deleted]
MangoToupe|6 months ago
chankstein38|6 months ago
stefan_|6 months ago
It's not 1999 anymore, we know this voice shit makes for terrible interfaces. Give it up already.
lawn|6 months ago
mikert89|6 months ago
rsynnott|6 months ago
dwaltrip|6 months ago