Video Game Coding with OpenAI o1
2:00

Video Game Coding with OpenAI o1

OpenAI 12.09.2024 159 637 просмотров 4 096 лайков

Machine-readable: Markdown · JSON API · Site index

Поделиться Telegram VK Бот
Транскрипт Скачать .md
Анализ с AI
Описание видео
Say hello to OpenAI o1—a new series of AI models designed to spend more time thinking before they respond. This new series of AI models can reason through complex tasks and solve harder problems than previous models in science, coding, and math. More here: www.openai.com/o1

Оглавление (1 сегментов)

Segment 1 (00:00 - 02:00)

I want to show an example of a coding prompt that 01 preview is able to do but previous models might struggle with and the coding prompt is to write the code for a very simple video game called squirrel finder and the reason 01 preview is better at doing prompts like this is when it wants to write a piece of code it thinks before giving the final answer so it can use the thinking process to plan out the structure of the code make sure it fits the constraints so let's try pasting this in and to give a brief overview of the prompt um the game scroll finder basically has a koala that you can move using the arrow keys um strawberries spawn every second and they bounce around and you want to avoid the strawberries after 3 seconds a squirrel icon comes up and you want to find the squirrel to win and there are a few other instructions like um putting open AI in the game screen and displaying instructions before the game starts Etc so first you can see that the model thought for 21 seconds before giving the final answer and you can see that during its thinking process it is gathering details on the game's layout mapping out the instructions setting up the screen Etc and so here's the code that it gave and I will paste it into a uh into a window and we'll see if it works so you see there's instructions um and let's try to play the game oh the squirrel came very quickly but oops this time I was hit by a strawberry let's try again you could see that the strawberries are appearing uh and let's see if I can win by finding the squirrel looks like I won

Другие видео автора — OpenAI

Ctrl+V

Экстракт Знаний в Telegram

Экстракты и дистилляты из лучших YouTube-каналов — сразу после публикации.

Подписаться

Дайджест Экстрактов

Лучшие методички за неделю — каждый понедельник