Skip to content

Commit 6dc2c85

Browse files
author
Brandon Meyerowitz
committed
fix typo in documentation
1 parent 3e45c02 commit 6dc2c85

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ for completion in result:
4747

4848
### Chat
4949

50-
To create a chat completion, use the `context` method to provide a list of chat messages.
50+
To create a chat completion, use the `chat_context` argument to provide a list of chat messages.
5151
You must also set the OpenAI configuration to `chat`. In this mode, the `prompt` argument
5252
functions as a system message.
5353

examples/completion.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
"source": [
8383
"### Chat\n",
8484
"\n",
85-
"To create a chat completion, use the `context` method to provide a list of chat messages.\n",
85+
"To create a chat completion, use the `chat_context` argument to provide a list of chat messages.\n",
8686
"You must also set the OpenAI configuration to `chat`. In this mode, the `prompt` argument\n",
8787
"functions as a system message."
8888
]

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ description = "Commonbase Python SDK"
88
readme = "README.md"
99
license.file = "LICENSE"
1010
requires-python = ">=3.8"
11-
version = "0.1.3"
11+
version = "0.1.4"
1212
dependencies = ["requests>=2.31.0", "sseclient-py>=1.7.2"]
1313
urls.Homepage = "https://github.com/commonbaseapp/commonbase-python"
1414
urls.Source = "https://github.com/commonbaseapp/commonbase-python"

0 commit comments

Comments
 (0)