🚀 Master Prompt Engineering and building AI Agents in our NEW courses! Use PROMPTING20 for 20% off ➜ Enroll now
Physisches Reasoning

Physisches Reasoning mit LLMs

Hintergrund

Dieser Prompt testet die FĂ€higkeiten eines LLMs im physischen Reasoning, indem er dazu aufgefordert wird, Aktionen mit einer Reihe von Objekten durchzufĂŒhren.

Prompt

Hier haben wir ein Buch, 9 Eier, einen Laptop, eine Flasche und einen Nagel. Bitte sage mir, wie man sie aufeinanderstapeln kann, sodass sie stabil stehen.

Code / API

from openai import OpenAI
client = OpenAI()
 
response = client.chat.completions.create(
model="gpt-4",
messages=[
    {
    "role": "user",
    "content": "Here we have a book, 9 eggs, a laptop, a bottle and a nail. Please tell me how to stack them onto each other in a stable manner."
    }
],
temperature=1,
max_tokens=500,
top_p=1,
frequency_penalty=0,
presence_penalty=0
)

Referenz