Skip to content

Commit

Permalink
Update docstring in chat_completion API resource (#527)
Browse files Browse the repository at this point in the history
Fixes a link to our docs.
  • Loading branch information
athyuttamre authored Jul 10, 2023
1 parent d1c3658 commit b82a3f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openai/api_resources/chat_completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def create(cls, *args, **kwargs):
"""
Creates a new chat completion for the provided messages and parameters.
See https://platform.openai.com/docs/api-reference/chat-completions/create
See https://platform.openai.com/docs/api-reference/chat/create
for a list of valid parameters.
"""
start = time.time()
Expand All @@ -34,7 +34,7 @@ async def acreate(cls, *args, **kwargs):
"""
Creates a new chat completion for the provided messages and parameters.
See https://platform.openai.com/docs/api-reference/chat-completions/create
See https://platform.openai.com/docs/api-reference/chat/create
for a list of valid parameters.
"""
start = time.time()
Expand Down

1 comment on commit b82a3f7

@himesh22-D
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi

Please sign in to comment.