FIX: fix typo

This commit is contained in:
tommy
2024-09-09 15:17:55 +08:00
parent cf2979dc88
commit 42691177eb
2 changed files with 2 additions and 2 deletions

View File

@@ -62,7 +62,7 @@
"- `max_tokens`: the maximum number of tokens to generate before stopping. Note that Claude may stop before reaching this maximum. This parameter only specifies the absolute maximum number of tokens to generate. Furthermore, this is a *hard* stop, meaning that it may cause Claude to stop generating mid-word or mid-sentence.\n", "- `max_tokens`: the maximum number of tokens to generate before stopping. Note that Claude may stop before reaching this maximum. This parameter only specifies the absolute maximum number of tokens to generate. Furthermore, this is a *hard* stop, meaning that it may cause Claude to stop generating mid-word or mid-sentence.\n",
"\n", "\n",
"- `messages`: an array of input messages. Our models are trained to operate on alternating `user` and `assistant` conversational turns. When creating a new `Message`, you specify the prior conversational turns with the messages parameter, and the model then generates the next `Message` in the conversation.\n", "- `messages`: an array of input messages. Our models are trained to operate on alternating `user` and `assistant` conversational turns. When creating a new `Message`, you specify the prior conversational turns with the messages parameter, and the model then generates the next `Message` in the conversation.\n",
" - Each input message must be an object with a `role` and `content`. You can specify a single `user`-role message, or you can include multiple `user` and `assistant` messages (they must alternate, if so). The first message must always use the user `role`.\n", " - Each input message must be an object with a `role` and `content`. You can specify a single `user`-role message, or you can include multiple `user` and `assistant` messages (they must alternate, if so). The first message must always use the `user` role.\n",
"\n", "\n",
"There are also optional parameters, such as:\n", "There are also optional parameters, such as:\n",
"- `system`: the system prompt - more on this below.\n", "- `system`: the system prompt - more on this below.\n",

View File

@@ -180,7 +180,7 @@
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"# System prompt - this is the only field you should chnage\n", "# System prompt - this is the only field you should change\n",
"SYSTEM_PROMPT = \"[Replace this text]\"\n", "SYSTEM_PROMPT = \"[Replace this text]\"\n",
"\n", "\n",
"# Prompt\n", "# Prompt\n",