Skip to content

Commit

Permalink
fix: correct typo; add chatgpt mammal reproduciton emoji example scre…
Browse files Browse the repository at this point in the history
…enshot
  • Loading branch information
ericrallen committed Sep 27, 2023
1 parent 9fd9daf commit 434166c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ _build
.ipynb_checkpoints
*.sqlite
.env
.DS_Store
.DS_Store
.tmp
4 changes: 3 additions & 1 deletion SentimentAnalysisWorkshop.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@
"\n",
"When sending messages to the OpenAI Chat API, we provide an Array of messages with the `role` of the message sender, using those message types that I described in the [prompt engineering](#prompt-engineering) section: `system`, `user`, or `assistant`.\n",
"\n",
"The origianl `BETTER_SYSTEM_PROMPT` looked like this, and it becomes the first message in our Array and has the `role` of `system`:\n",
"The original `BETTER_SYSTEM_PROMPT` looked like this, and it becomes the first message in our Array and has the `role` of `system`:\n",
"\n",
"```\n",
"You are VibeCheck, an advanced AI system for detecting the sentiment conveyed in user-generated text.\n",
Expand Down Expand Up @@ -1160,6 +1160,8 @@
"\n",
"Well, it turns out that understanding emojis is one of the [emergent capabilities](https://www.quantamagazine.org/the-unpredictable-abilities-emerging-from-large-ai-models-20230316/) that these models are developing.\n",
"\n",
"<div style=\"display: flex; alight-items: center; justify-content: center;\"><a href=\"https://github.com/Mooler0410/LLMsPracticalGuide\" target=\"_blank\"><img alt=\"ChatGPT explaining how mammals reproduce via emoji.\" src=\"./assets/how-emojis-work.png\" /></a></div>\n",
"\n",
"**Note**: GPT-4 seems to handle emojis better than GPT-3.5-Turbo, but will incur higher costs.\n"
]
},
Expand Down
Binary file added assets/how-emojis-work.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 434166c

Please sign in to comment.