G3 - AI

uses

prompt engineering

  • the art and science of designing and optimising prompts to guide AI models, particularly LLMs, towards generating the desired responses
    Google Cloud

G3 - AI  - prompt engineering.png
image: prompt engineering workflow, Generative AI on Vertex AI, Google

<OBJECTIVE_AND_PERSONA>
**You are a [insert a persona, such as a "math teacher" or "automotive expert"]. Your task is to...**
</OBJECTIVE_AND_PERSONA>

<INSTRUCTIONS>
**To complete the task, you need to follow these steps:
1.
2.
...**
</INSTRUCTIONS>

------------- Optional Components ------------

<CONSTRAINTS>
**Dos and don'ts for the following aspects
1. Dos
2. Don'ts**
</CONSTRAINTS>

<CONTEXT>
**The provided context**
</CONTEXT>

<OUTPUT_FORMAT>
**The output format must be
1.
2.
...**
</OUTPUT_FORMAT>

<FEW_SHOT_EXAMPLES>
**Here we provide some examples:
1. Example #1
Input:
Thoughts:
Output:
...**
</FEW_SHOT_EXAMPLES>

<RECAP>
**Re-emphasize the key aspects of the prompt, especially the constraints, output format, etc.**
</RECAP>

source: Generative AI on Vertex AI, Google*

prompt types

issues with prompts

prompt writing strategies

source: Google Cloud

WindSurf

G3 - AI - windsurf.png|500
image: windsurf

Cascade

G3 - AI - cascade1.png|500
image: windsurf

G3 - AI - windsurd2.png|500
image: windsurf

G3 - AI - cursor.png|500
image: cursor