Look Into The Machine's Mind - See how ChatGPT does what it does
Using the chatgpt api, I ran the same completion prompt "Intelligence is " hundreds of times. Given a text, a Large Language Model assigns a probability for the word (token) to come, and it just repeats this process until a completion is… well, complete.