And learn about LLM architecture techniques, parsed output, test design and performance measurement of your system
The 20 Questions Game is a classic guessing game for two players. One player thinks of an object, person, or place, and the other player takes turns asking yes-or-no questions to figure out what it is. The goal is to guess correctly within 20 questions. If no one guesses by the 20th question, the thinker reveals the answer, and the round ends. The real game can be found here, I encourage you to play thinking of something easy like a car or an apple.
Build the best LLM agent possible to be the guesser in this game.
A couple of things were clear to me from the beginning of starting this project. I wanted the guesser agent to receive a very clear list of all the previous questions asked and answer and then be prompted to come up with the next question to ask.