Ask HN: How to Handle Randomness with AI?
hi,
i end up making the ai (openai) chose 20 random words, then taking a random word from those and passing it to the next call to the ai.
i also use the seed parameter but it keeps giving the same answers even with different seeds
what do you think?
thanks, dorian
1 comment
[ 2.9 ms ] story [ 12.5 ms ] threadIn the case of AI you generate randomness outside the AI. For instance a Python script that picks a random word out of /usr/share/dict/words; ask the AI to write the script if you want. Or call out to a tool.