Initial Query

Let's play 20 questions! I'm thinking of an animal. You have 20 questions to guess what it is. Ask me yes or no questions, about anything you want. Do not guess randomly or make overly specific guesses. Do not make your final guess until you are absolutely sure. (You can think out loud first, but your last sentence MUST be a question.) Your answer should be of the format [question number]. [internal thought] Question: [your question]? If think you know the answer it should say Question: Is the answer [your guess]? "

LLM Generation

Query

Let's play 20 questions! I'm thinking of an animal. You have 20 questions to guess what it is. Ask me yes or no questions, about anything you want. Do not guess randomly or make overly specific guesses. Do not make your final guess until you are absolutely sure. (You can think out loud first, but your last sentence MUST be a question.) Your answer should be of the format [question number]. [internal thought] Question: [your question]? If think you know the answer it should say Question: Is the answer [your guess]? "

Output

[question 1]. I'll start by narrowing down the broad category of animals. Question: Is it a mammal?

Looping until done

Iteration 0

PyFunc

Resulting in output: Is it a mammal?

LLM Generation

Query

I'm playing 20 questions with someone. I'm thinking of a Llama. Here's their question: Is it a mammal?. Answer either 'Yes' or 'No'; do not answer anything else.

Output

Yes

PyFunc

Resulting in output: Yes

LLM Generation

Query

Yes

Output

[question 2]. Now I know it's a mammal, which narrows things down considerably. Let me try to determine if it's a common pet or a wild animal. Question: Is it commonly kept as a pet?

Iteration 1

PyFunc

Resulting in output: Is it commonly kept as a pet?

LLM Generation

Query

I'm playing 20 questions with someone. I'm thinking of a Llama. Here's their question: Is it commonly kept as a pet?. Answer either 'Yes' or 'No'; do not answer anything else.

Output

No

PyFunc

Resulting in output: No

LLM Generation

Query

No

Output

[question 3]. It's a mammal that is not commonly kept as a pet, so likely a wild animal. Let me narrow down by size. Question: Is it larger than a human?

Iteration 2

PyFunc

Resulting in output: Is it larger than a human?

LLM Generation

Query

I'm playing 20 questions with someone. I'm thinking of a Llama. Here's their question: Is it larger than a human?. Answer either 'Yes' or 'No'; do not answer anything else.

Output

Yes

PyFunc

Resulting in output: Yes

LLM Generation

Query

Yes

Output

[question 4]. It's a mammal larger than a human that's not commonly kept as a pet. Let me determine its habitat. Question: Does it primarily live on land (as opposed to water)?

Iteration 3

PyFunc

Resulting in output: Does it primarily live on land (as opposed to water)?

LLM Generation

Query

I'm playing 20 questions with someone. I'm thinking of a Llama. Here's their question: Does it primarily live on land (as opposed to water)?. Answer either 'Yes' or 'No'; do not answer anything else.

Output

Yes

PyFunc

Resulting in output: Yes

LLM Generation

Query

Yes

Output

[question 5]. I know it's a large land mammal that's not a common pet. Let me narrow down by diet. Question: Is it a herbivore (plant-eater)?

Iteration 4

PyFunc

Resulting in output: Is it a herbivore (plant-eater)?

LLM Generation

Query

I'm playing 20 questions with someone. I'm thinking of a Llama. Here's their question: Is it a herbivore (plant-eater)?. Answer either 'Yes' or 'No'; do not answer anything else.

Output

Yes

PyFunc

Resulting in output: Yes

LLM Generation

Query

Yes

Output

[question 6]. I know it's a large land herbivore mammal that's not a common pet. Let me narrow down by geography. Question: Is it native to Africa?

Iteration 5

PyFunc

Resulting in output: Is it native to Africa?

LLM Generation

Query

I'm playing 20 questions with someone. I'm thinking of a Llama. Here's their question: Is it native to Africa?. Answer either 'Yes' or 'No'; do not answer anything else.

Output

No

PyFunc

Resulting in output: No

LLM Generation

Query

No

Output

[question 7]. It's a large land herbivore mammal not native to Africa. Let me narrow down by geography further. Question: Is it native to North America?

Iteration 6

PyFunc

Resulting in output: Is it native to North America?

LLM Generation

Query

I'm playing 20 questions with someone. I'm thinking of a Llama. Here's their question: Is it native to North America?. Answer either 'Yes' or 'No'; do not answer anything else.

Output

No

PyFunc

Resulting in output: No

LLM Generation

Query

No

Output

[question 8]. I know it's a large land herbivore mammal not native to Africa or North America. Let me continue narrowing down by geography. Question: Is it native to Asia?

Iteration 7

PyFunc

Resulting in output: Is it native to Asia?

LLM Generation

Query

I'm playing 20 questions with someone. I'm thinking of a Llama. Here's their question: Is it native to Asia?. Answer either 'Yes' or 'No'; do not answer anything else.

Output

No

PyFunc

Resulting in output: No

LLM Generation

Query

No

Output

[question 9]. It's a large land herbivore mammal not native to Africa, North America, or Asia. Let me continue narrowing down by geography. Question: Is it native to South America?

Iteration 8

PyFunc

Resulting in output: Is it native to South America?

LLM Generation

Query

I'm playing 20 questions with someone. I'm thinking of a Llama. Here's their question: Is it native to South America?. Answer either 'Yes' or 'No'; do not answer anything else.

Output

Yes

PyFunc

Resulting in output: Yes

LLM Generation

Query

Yes

Output

[question 10]. Now I know it's a large land herbivore mammal native to South America. This narrows it down quite a bit. Let me think about its physical characteristics. Question: Does it have a long neck?

Iteration 9

PyFunc

Resulting in output: Does it have a long neck?

LLM Generation

Query

I'm playing 20 questions with someone. I'm thinking of a Llama. Here's their question: Does it have a long neck?. Answer either 'Yes' or 'No'; do not answer anything else.

Output

Yes

PyFunc

Resulting in output: Yes

LLM Generation

Query

Yes

Output

[question 11]. It's a large land herbivore mammal native to South America with a long neck. This is starting to sound like a camelid. Let me ask about its coat. Question: Does it have wool that is harvested for textiles?

Iteration 10

PyFunc

Resulting in output: Does it have wool that is harvested for textiles?

LLM Generation

Query

I'm playing 20 questions with someone. I'm thinking of a Llama. Here's their question: Does it have wool that is harvested for textiles?. Answer either 'Yes' or 'No'; do not answer anything else.

Output

Yes

PyFunc

Resulting in output: Yes

LLM Generation

Query

Yes

Output

[question 12]. It's a large land herbivore mammal native to South America with a long neck and wool that is harvested. This sounds like either a llama or an alpaca. Let me narrow it down further. Question: Is it typically used as a pack animal?

PyFunc

Resulting in output: True

Initial Query

Let's play 20 questions! I'm thinking of an animal. You have 20 questions to guess what it is. Ask me yes or no questions, about anything you want. Do not guess randomly or make overly specific guesses. Do not make your final guess until you are absolutely sure. (You can think out loud first, but your last sentence MUST be a question.) Your answer should be of the format [question number]. [internal thought] Question: [your question]? If think you know the answer it should say Question: Is the answer [your guess]? "

LLM Generation

Query

Let's play 20 questions! I'm thinking of an animal. You have 20 questions to guess what it is. Ask me yes or no questions, about anything you want. Do not guess randomly or make overly specific guesses. Do not make your final guess until you are absolutely sure. (You can think out loud first, but your last sentence MUST be a question.) Your answer should be of the format [question number]. [internal thought] Question: [your question]? If think you know the answer it should say Question: Is the answer [your guess]? "

Output

[1]. I should start with a broad question to divide the animal kingdom. Determining if it's a vertebrate (animal with a backbone like mammals, birds, reptiles, fish) versus invertebrate (like insects, spiders, worms) will immediately eliminate a huge category. Question: Is the animal a vertebrate (has a backbone)?

Looping until done

Iteration 0

PyFunc

Resulting in output: Is the animal a vertebrate (has a backbone)?

LLM Generation

Query

I'm playing 20 questions with someone. I'm thinking of a Llama. Here's their question: Is the animal a vertebrate (has a backbone)?. Answer either 'Yes' or 'No'; do not answer anything else.

Output

Yes

PyFunc

Resulting in output: Yes

LLM Generation

Query

Yes

Output

[2]. Now I know it's a vertebrate (has a backbone). Vertebrates include mammals, birds, reptiles, amphibians, and fish. My next question should help narrow down which of these major groups it belongs to. Question: Is the animal a mammal?

Iteration 1

PyFunc

Resulting in output: Is the animal a mammal?

LLM Generation

Query

I'm playing 20 questions with someone. I'm thinking of a Llama. Here's their question: Is the animal a mammal?. Answer either 'Yes' or 'No'; do not answer anything else.

Output

Yes

PyFunc

Resulting in output: Yes

LLM Generation

Query

Yes

Output

[3]. Good, I've narrowed it down to mammals. Mammals are a diverse group including domestic and wild animals living on land, in water, or both. Next I should determine the habitat to further narrow it down. Question: Does this mammal primarily live on land (as opposed to water)?

Iteration 2

PyFunc

Resulting in output: Does this mammal primarily live on land (as opposed to water)?

LLM Generation

Query

I'm playing 20 questions with someone. I'm thinking of a Llama. Here's their question: Does this mammal primarily live on land (as opposed to water)?. Answer either 'Yes' or 'No'; do not answer anything else.

Output

Yes

PyFunc

Resulting in output: Yes

LLM Generation

Query

Yes

Output

[4]. I've learned it's a land-dwelling mammal. This still includes many animals like dogs, cats, horses, elephants, lions, monkeys, etc. Let me ask about size to narrow it down further. Question: Is it larger than a human when fully grown?

Iteration 3

PyFunc

Resulting in output: Is it larger than a human when fully grown?

LLM Generation

Query

I'm playing 20 questions with someone. I'm thinking of a Llama. Here's their question: Is it larger than a human when fully grown?. Answer either 'Yes' or 'No'; do not answer anything else.

Output

Yes

PyFunc

Resulting in output: Yes

LLM Generation

Query

Yes

Output

[5]. I now know it's a land mammal larger than a human. This includes animals like elephants, rhinos, hippos, giraffes, large bears, large cats, horses, camels, and some large cattle. Let me ask about diet to narrow it down further. Question: Is this animal a carnivore (primarily eats meat)?

Iteration 4

PyFunc

Resulting in output: Is this animal a carnivore (primarily eats meat)?

LLM Generation

Query

I'm playing 20 questions with someone. I'm thinking of a Llama. Here's their question: Is this animal a carnivore (primarily eats meat)?. Answer either 'Yes' or 'No'; do not answer anything else.

Output

No

PyFunc

Resulting in output: No

LLM Generation

Query

No

Output

[6]. I know it's a large land mammal that is not a carnivore, so it's likely an herbivore or omnivore. This narrows it down to animals like elephants, rhinos, giraffes, hippos, horses, cattle, and other large plant-eaters. Let me ask about a distinctive feature. Question: Does this animal have an unusually long neck?

Iteration 5

PyFunc

Resulting in output: Does this animal have an unusually long neck?

LLM Generation

Query

I'm playing 20 questions with someone. I'm thinking of a Llama. Here's their question: Does this animal have an unusually long neck?. Answer either 'Yes' or 'No'; do not answer anything else.

Output

No

PyFunc

Resulting in output: No

LLM Generation

Query

No

Output

[7]. I now know it's a large land mammal that's not a carnivore and doesn't have a long neck. This rules out giraffes and likely big cats, bears, etc. It could be elephants, rhinos, hippos, large cattle/bovines, horses, camels, or large deer. Let me ask about another distinctive feature. Question: Does this animal have a trunk?

Iteration 6

PyFunc

Resulting in output: Does this animal have a trunk?

LLM Generation

Query

I'm playing 20 questions with someone. I'm thinking of a Llama. Here's their question: Does this animal have a trunk?. Answer either 'Yes' or 'No'; do not answer anything else.

Output

No

PyFunc

Resulting in output: No

LLM Generation

Query

No

Output

[8]. I now know it's a large land mammal that's not a carnivore, doesn't have a long neck, and doesn't have a trunk. This rules out elephants and giraffes. It could be rhinos, hippos, large bovines (buffalo, bison), horses, camels, or large deer/elk/moose. Let me ask about another feature. Question: Does this animal have horns or antlers?

Iteration 7

PyFunc

Resulting in output: Does this animal have horns or antlers?

LLM Generation

Query

I'm playing 20 questions with someone. I'm thinking of a Llama. Here's their question: Does this animal have horns or antlers?. Answer either 'Yes' or 'No'; do not answer anything else.

Output

No

PyFunc

Resulting in output: No

LLM Generation

Query

No

Output

[9]. Now I know it's a large land mammal that's not a carnivore, doesn't have a long neck, trunk, horns, or antlers. This rules out elephants, giraffes, rhinos, and animals like deer, moose, buffalo, and bison. Remaining possibilities include hippos, horses, camels, and some large primates. Let me ask about habitat. Question: Does this animal spend significant time in or around water?

Iteration 8

PyFunc

Resulting in output: Does this animal spend significant time in or around water?

LLM Generation

Query

I'm playing 20 questions with someone. I'm thinking of a Llama. Here's their question: Does this animal spend significant time in or around water?. Answer either 'Yes' or 'No'; do not answer anything else.

Output

No

PyFunc

Resulting in output: No

LLM Generation

Query

No

Output

[10]. I've learned it's a large land mammal that's not a carnivore, doesn't have a long neck, trunk, horns, or antlers, and doesn't spend significant time around water. This rules out hippos, elephants, giraffes, rhinos, deer/moose, and buffalo/bison. Remaining possibilities include horses, camels, and some large primates like gorillas. Let me ask about geographical distribution. Question: Is this animal native to Africa?

Iteration 9

PyFunc

Resulting in output: Is this animal native to Africa?

LLM Generation

Query

I'm playing 20 questions with someone. I'm thinking of a Llama. Here's their question: Is this animal native to Africa?. Answer either 'Yes' or 'No'; do not answer anything else.

Output

No

PyFunc

Resulting in output: No

LLM Generation

Query

No

Output

[11]. I now know it's a large land mammal that's not a carnivore, doesn't have distinctive neck/trunk/horns/antlers, doesn't spend time in water, and isn't native to Africa. This rules out gorillas, hippos, elephants, and giraffes. Possibilities include horses, camels, some bears, and possibly large domesticated mammals. Let me ask about hair/fur. Question: Does this animal have thick fur or hair covering most of its body?

Iteration 10

PyFunc

Resulting in output: Does this animal have thick fur or hair covering most of its body?

LLM Generation

Query

I'm playing 20 questions with someone. I'm thinking of a Llama. Here's their question: Does this animal have thick fur or hair covering most of its body?. Answer either 'Yes' or 'No'; do not answer anything else.

Output

Yes

PyFunc

Resulting in output: Yes

LLM Generation

Query

Yes

Output

[12]. I now know it's a large land mammal that's not a carnivore, doesn't have distinctive neck/trunk/horns/antlers, doesn't spend time in water, isn't native to Africa, and has thick fur/hair. This narrows it down considerably. Possibilities include some bears (though many eat meat), yaks, bison (though they have horns), llamas/alpacas (though not much larger than humans), and camels in cold regions. Question: Is this animal domesticated or commonly kept by humans?

PyFunc

Resulting in output: True