Understanding what an AI like ChatGPT does is problematic. To start with, the LLM is the secret sauce just like PageRank was for Google. Pretty soon its just one of 200 factors that are choreographed to make an actually useful product.