Prompt engineering: Difference between revisions

No edit summary
Line 5: Line 5:
==Prompt Engineering for Code Generation Models==
==Prompt Engineering for Code Generation Models==
Genearte [[code]] using [[models]] like the [[OpenAI Codex]].
Genearte [[code]] using [[models]] like the [[OpenAI Codex]].
#Describe the task - tell the model what you want it to do at a high level.
#Describe the context - describe background information like API hints and database schema to help the model understand the task.
#Show examples - show the model examples of what you want.


===Task===
===Task===
370

edits