Skip to content

ChatGPT tutorial: Prompt Engineering for Developers

Notifications You must be signed in to change notification settings

Farzy/chatgpt-prompt-eng

Repository files navigation

ChatGPT Prompt Engineering for Developers

Experimenting with OpenAI's ChatGPT using the free training ChatGPT Prompt Engineering for Developers by DeepLearning.AI.

Setup

  • Create an account on OpenAI's platform
  • If you don't have enough free credits, switch to a paid account
  • Create an API key
  • Store the API key in a file called .env in the current project using the following format:
# OpenAI key
OPENAI_ORGANIZATION=…
OPENAI_API_KEY=sk-…
  • Run Poetry: poetry install

Note: The .env file is ignored if the .gitignore file is configured correctly

Usage

Either start Jupyter Notebook to run the notebooks, or run the Python scripts in a Poetry shell using:

poetry shell
python prompting.py

About

ChatGPT tutorial: Prompt Engineering for Developers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published