in

Advent of Code(x) | Day 1 – Go | Using OpenAI's Codex to solve Advent of Code



For Day 1 I chose my favorite language Go. I copy-pasted some of the instructions, and edited and rephrased them until it worked out. Then added the “package main” statement and a statement of intents to import libraries with “import”, by this indicating my choice to use Go.

This is the prompt that worked –

——————————————————–
// [edited instructions]
// [edited instructions]

package main

import
——————————————————–

In this series of recordings I’ll be solving the Advent of Code 2021 challenges using a no-code setup: OpenAI’s Codex for solving, and the browser-based IDE Replit for testing the solution.

The purpose is to show what writing code using no-code tooling and Prompt Engineering is like, so the focus is on the OpenAI Playground for getting the solution, and minimal code debugging.
Codex supports multiple languages, so I’ll be using a different language each. Thanks to the web IDE there is no need for setting up any environment, hooray!

Resources:
https://adventofcode.com/2021
https://openai.com/blog/openai-codex
https://replit.com

Follow me on Twitter:
https://twitter.com/NataliePis

StartupHub.ai logo

Rivery Unveils Blueprint to Revolutionize Data Pipelines for GenAI Applications

Why does AI hallucinate? | MIT Technology Review

Why does AI hallucinate? | MIT Technology Review