Skip to content

Commit b82a3f7

Browse files
authored
Update docstring in chat_completion API resource (#527)
Fixes a link to our docs.
1 parent d1c3658 commit b82a3f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

openai/api_resources/chat_completion.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def create(cls, *args, **kwargs):
1414
"""
1515
Creates a new chat completion for the provided messages and parameters.
1616
17-
See https://platform.openai.com/docs/api-reference/chat-completions/create
17+
See https://platform.openai.com/docs/api-reference/chat/create
1818
for a list of valid parameters.
1919
"""
2020
start = time.time()
@@ -34,7 +34,7 @@ async def acreate(cls, *args, **kwargs):
3434
"""
3535
Creates a new chat completion for the provided messages and parameters.
3636
37-
See https://platform.openai.com/docs/api-reference/chat-completions/create
37+
See https://platform.openai.com/docs/api-reference/chat/create
3838
for a list of valid parameters.
3939
"""
4040
start = time.time()

0 commit comments

Comments
 (0)