Skip to content

This repository is dedicated to exploring and implementing advanced prompt engineering techniques tailored for Generative AI (GENAI) in a developer-centric context. The project is structured around a "quadrant" framework, offering a methodical approach to crafting and optimizing prompts for various use cases

License

Notifications You must be signed in to change notification settings

ovas04/quadrant-dev-prompt-engineering

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License: MIT PRs Welcome

This repository aims to provide a practical and intuitive way to use prompts based on knowledge and requirements. The scope of this guideline is general, but it primarily uses the development process as an example. Additionally, the approach is demonstrated through examples involving GitHub Copilot.

Getting Started

This quadrant approach is straightforward. First, it's necessary to understand that most problems you encounter when using LLM chats involve two controlled factors:

  1. Knowledge about the topic: How much you know about the topic addressed in the question.
  2. Requirements for the question's objective: Does your question aim to solve or respond to something specific, and do you have all the necessary requirements for an efficient response?

These two factors can be visualized in a quadrant chart, creating four main zones. Each zone corresponds to different approaches in prompt engineering.

quadrantChart
    title Quadrant for Prompting Approach 🤖
    x-axis Low knowledge --> High knowledge
    y-axis Unclear Requirements --> Clear Requirements
    quadrant-1 Zero/One shot 
    quadrant-2 Full Prompt 
    quadrant-3 Multi Prompt
    quadrant-4 Reverse Prompt/CoT 
Loading

The details of the quadrant and the reasons behind each approach can be explored further in the following section.

Tree Knowledge

  1. Base knowledge for prompt engineering patterns
    This section covers foundational patterns in prompt engineering, explaining how each pattern works and its benefits.

  2. Quadrant for prompt engineering
    This section introduces a quadrant framework to help select the appropriate prompting approach based on knowledge level and requirement clarity.

  3. Examples and uses
    This section provides practical examples illustrating how to identify the appropriate quadrant and prompting approach for different scenarios.

Important

It's important to better understand prompt engineering patterns, making the first section the recommended starting point

Other Related and Recommended Knowledge Sources

About

This repository is dedicated to exploring and implementing advanced prompt engineering techniques tailored for Generative AI (GENAI) in a developer-centric context. The project is structured around a "quadrant" framework, offering a methodical approach to crafting and optimizing prompts for various use cases

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks