Skip to content

Commit

Permalink
Escape curlys
Browse files Browse the repository at this point in the history
  • Loading branch information
benjreinhart authored Mar 5, 2024
1 parent 55a64d2 commit 316a098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/posts/insiders-guide-to-prompting.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Think of few-shot learning as giving your AI a crash course or a quick peek at y
_Example:_
Going back to our app, a few-shot prompt might look like:

- **Input:** "Here are three examples where I summarize tech articles into 100-word snippets. {examples}. Now, summarize the following tech article into a 100-word snippet: {tech_article}"
- **Input:** "Here are three examples where I summarize tech articles into 100-word snippets. \{examples\}. Now, summarize the following tech article into a 100-word snippet: \{tech_article\}"
- **GPT-4’s Task:** Follow the pattern to generate a similar summary for the provided article.

This approach helps GPT-4 grasp the task through context, making it an effective tool for teams without a coding guru on board.
Expand Down

0 comments on commit 316a098

Please sign in to comment.