I figured that instead of asking questions and getting answers of greater and greater detail about a given topic, I might very well try to let chatGPT take over not just the answering part, but also the questioning part.
So here you have a chatbot that discusses with itself trying to come up with a solution to a problem.
Prompt
"Pretend to be an expert in programming (Expert). I have the following problem: I need a good algorithm for clustering geographic data, in particular data from cities. Please simulate a back and forth between you as an expert programmer (Expert) and me (Asker) as the person which has the problem. Make sure the conversation is constructive and progresses to more and better details."