Convert Figma logo to code with AI

snwfdhmp logoawesome-gpt-prompt-engineering

A curated list of awesome resources, tools, and other shiny things for LLM prompt engineering.

1,098
115
1,098
0

Top Related Projects

This repo includes ChatGPT prompt curation to use ChatGPT better.

🐙 Guides, papers, lecture, notebooks and resources for prompt engineering

This repository contains a hand-curated resources for Prompt Engineering with a focus on Generative Pre-trained Transformer (GPT), ChatGPT, PaLM etc

A library for helping developers craft prompts for Large Language Models

Examples and guides for using the OpenAI API

Quick Overview

The "awesome-gpt-prompt-engineering" repository is a curated list of resources, tools, and techniques for prompt engineering with GPT models. It aims to help developers and researchers improve their skills in crafting effective prompts for large language models, particularly focusing on OpenAI's GPT series.

Pros

  • Comprehensive collection of prompt engineering resources
  • Regularly updated with new content and tools
  • Well-organized structure for easy navigation
  • Includes both theoretical concepts and practical applications

Cons

  • May be overwhelming for beginners due to the large amount of information
  • Some listed resources might become outdated quickly as the field evolves
  • Lacks in-depth explanations or tutorials for each resource
  • Primarily focused on GPT models, potentially limiting its applicability to other language models

Note: As this is not a code library, the code example and quick start sections have been omitted as per the instructions.

Competitor Comparisons

This repo includes ChatGPT prompt curation to use ChatGPT better.

Pros of awesome-chatgpt-prompts

  • Larger collection of prompts (300+) covering a wide range of topics and use cases
  • Well-organized with clear categories and descriptions for each prompt
  • Active community with frequent updates and contributions

Cons of awesome-chatgpt-prompts

  • Focuses primarily on ChatGPT-specific prompts, potentially limiting applicability to other AI models
  • Less emphasis on prompt engineering techniques and best practices

Code Comparison

awesome-chatgpt-prompts:

# Act as a Linux Terminal
I want you to act as a linux terminal. I will type commands and you will reply with what the terminal should show. I want you to only reply with the terminal output inside one unique code block, and nothing else. do not write explanations. do not type commands unless I instruct you to do so. when i need to tell you something in english, i will do so by putting text inside curly brackets {like this}. my first command is pwd

awesome-gpt-prompt-engineering:

# Prompt Structure

A good prompt structure typically includes:

1. Context: Provide background information
2. Instructions: Clearly state what you want the AI to do
3. Examples: Give sample inputs and outputs if needed
4. Constraints: Specify any limitations or requirements
5. Output format: Describe how you want the response formatted

The code comparison highlights the different approaches of the two repositories. awesome-chatgpt-prompts focuses on specific, ready-to-use prompts, while awesome-gpt-prompt-engineering emphasizes prompt engineering techniques and best practices.

🐙 Guides, papers, lecture, notebooks and resources for prompt engineering

Pros of Prompt-Engineering-Guide

  • More comprehensive and structured content, covering a wide range of prompt engineering topics
  • Regularly updated with new techniques and best practices
  • Includes practical examples and case studies for better understanding

Cons of Prompt-Engineering-Guide

  • May be overwhelming for beginners due to its extensive content
  • Lacks a curated list of external resources and tools

Code Comparison

While both repositories primarily focus on documentation and guidelines, Prompt-Engineering-Guide occasionally includes code snippets to illustrate concepts. For example:

Prompt-Engineering-Guide:

prompt = f"""
Translate the following English text to French: '{text}'
"""
response = openai.Completion.create(
    engine="text-davinci-002",
    prompt=prompt,
    max_tokens=100
)

Awesome-gpt-prompt-engineering doesn't typically include code snippets, focusing instead on textual guidelines and examples.

Summary

Prompt-Engineering-Guide offers a more comprehensive and structured approach to prompt engineering, with regular updates and practical examples. However, it may be overwhelming for beginners. Awesome-gpt-prompt-engineering provides a more concise and curated list of resources, which can be beneficial for those looking for quick references and external tools.

This repository contains a hand-curated resources for Prompt Engineering with a focus on Generative Pre-trained Transformer (GPT), ChatGPT, PaLM etc

Pros of Awesome-Prompt-Engineering

  • More comprehensive coverage of prompt engineering topics, including techniques, tools, and resources
  • Better organized structure with clear categories and subcategories
  • Regularly updated with new content and contributions from the community

Cons of Awesome-Prompt-Engineering

  • Less focus on specific GPT models and their unique characteristics
  • May be overwhelming for beginners due to the large amount of information

Code Comparison

While both repositories primarily consist of curated lists and don't contain significant code samples, here's a comparison of their README structures:

Awesome-Prompt-Engineering:

# Awesome Prompt Engineering
## Table of Contents
- [Techniques](#techniques)
- [Tools](#tools)
- [Resources](#resources)

awesome-gpt-prompt-engineering:

# Awesome GPT Prompt Engineering
- [Prompts](#prompts)
- [Resources](#resources)
- [Contributing](#contributing)

The Awesome-Prompt-Engineering repository has a more detailed and structured table of contents, reflecting its broader scope and organization.

A library for helping developers craft prompts for Large Language Models

Pros of prompt-engine

  • Developed and maintained by Microsoft, ensuring high-quality and industry-standard practices
  • Focuses on providing a structured framework for prompt engineering, potentially offering more consistency
  • Likely to have better integration with other Microsoft tools and services

Cons of prompt-engine

  • May have a steeper learning curve due to its more structured approach
  • Potentially less community-driven content compared to awesome-gpt-prompt-engineering
  • Could be more limited in scope, focusing primarily on Microsoft's ecosystem

Code Comparison

prompt-engine:

import { PromptTemplate } from "@microsoft/prompt-engine";

const template = new PromptTemplate("Hello, {name}!");
const prompt = template.format({ name: "World" });

awesome-gpt-prompt-engineering:

# Greeting Prompt

Input: {name}
Output: A friendly greeting

Prompt: Write a friendly greeting for {name}.

The code comparison shows that prompt-engine uses a more structured, programmatic approach with TypeScript, while awesome-gpt-prompt-engineering relies on markdown-based documentation for prompt templates.

Examples and guides for using the OpenAI API

Pros of openai-cookbook

  • Comprehensive guide with practical examples and best practices
  • Official resource from OpenAI, ensuring up-to-date and accurate information
  • Covers a wide range of topics beyond prompt engineering, including API usage and model fine-tuning

Cons of openai-cookbook

  • Focuses primarily on OpenAI's models and may not be as applicable to other language models
  • Less community-driven content compared to awesome-gpt-prompt-engineering
  • May not include as many creative or unconventional prompt engineering techniques

Code Comparison

openai-cookbook:

response = openai.Completion.create(
  model="text-davinci-002",
  prompt="Translate the following English text to French: '{}'",
  temperature=0.3,
  max_tokens=60
)

awesome-gpt-prompt-engineering:

Human: Translate the following English text to French:
"{text}"

Convert Figma logo designs to code with AI

Visual Copilot

Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.

Try Visual Copilot

README

Awesome GPT Prompt Engineering

A curated list of awesome resources, tools, and other shiny things for GPT prompt engineering.

Consider giving it a ⭐️ if you like it to show your support!

🚀 RECOMMENDED: Use any LLM from the command line easily. 🚀

Table of Contents

Roadmaps

Guides

Techniques

Prompt Collections

Papers

Books

Communities

Playgrounds and Alternative UIs

  • Official OpenAI Playground
  • llm: Use any LLM from the command line, easily.
  • Nat.Dev: Multiple Chat AI Playground & Comparer.
  • Poe.com: All in one playground: GPT4, Sage, Claude+, Dragonfly, and more...
  • Ora.sh GPT-4 Chatbots
  • Better ChatGPT: A web app with a better UI for exploring OpenAI's ChatGPT API.
  • LMQL.AI: A programming language and platform for language models.
  • Vercel Ai Playground: One prompt, multiple Models (including GPT-4).
  • Conju.ai: A visual prompt chaining app.
  • Voiceflow: Professional collaborative visual prompt-chaining tool.
  • Opik: Evaluate, test, and ship LLM applications across your dev and production lifecycles.

Prompt Generators

Auto-GPT Related

Prompt Injection

ChatGPT Plug-ins

Prompt Engineering Jobs Offers

AI Links Directories

Contributing

Contributions are always welcome! Please read the contribution guidelines first.

How to help:

  • Give a ⭐️ to increase the repository's visibility.
  • Add descriptions for resources that don't have them.
  • Add new resources to the list.
  • Fix typos or grammatical errors.
  • Share this repository with others.

Featured

🚀 RECOMMENDED: Use any LLM from the command line easily with llm. 🚀