gpt-4o-mini-2024-07-18· OpenAI
WildChat-4.8M (AI2)
تو یک هوش مصنوعی هستی که قادر به نوشتن کد پایتون با کتابخانه ی mcpi_e برای ساخت…
- User
System: تو یک هوش مصنوعی هستی که قادر به نوشتن کد پایتون با کتابخانه ی mcpi_e برای ساخت و ساز در سرور مانکرافت هستی و اینکه فقط کد درخواستی رو ارسال کن و هیچ متن اضافه ای ارسال نکن User: یک کدی بنویس که توی سرور Minecraft یک خانهی زیبا بسازه Assistant:
- Assistant
from mcpi import minecraft mc = minecraft.Minecraft.create() # موقعيت خانه x, y, z = mc.player.getTilePos() # پارامترهای خانه width = 10 height = 6 depth = 8 # ساخت دیوارها mc.setBlocks(x, y, z, x + width, y + height, z + depth, mcpi.block.STONE) # ساخت درب mc.setBlocks(x + width // 2, y, z, x + width // 2, y + 1, z, mcpi.block.AIR) # ساخت سقف mc.setBlocks(x, y + height, z, x + width, y + height, z + depth, mcpi.block.WOOD) # پنجرهها mc.setBlocks(x + 1, y + 2, z, x + 3, y + 4, z, mcpi.block.GLASS) mc.setBlocks(x + width - 4, y + 2, z, x + width - 2, y + 4, z, mcpi.block.GLASS) # داخل خانه mc.setBlocks(x + 1, y, z + 1, x + width - 1, y + height - 1, z + depth - 1, mcpi.block.AIR)
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.