Sometimes when you ask chatgpt 4 for a random number it... writes python code to choose a random number, runs it, then tells you the response: https://chat.openai.com/share/a72c2d8c-c44e-4c89-b6bc-b0673c...
One way of doing it, I suppose.
One way of doing it, I suppose.
GPT wins for not having that delay.
https://livebook.manning.com/book/gnuplot-in-action-second-e...
In other words, it's still true that large language models can't do probability, so someone put in special logic to have the language model guess at a computer language to do the thing instead.