Skip to content

Commit

Permalink
docs: fix docstring typos (#1022)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot committed Jan 9, 2024
1 parent 47f3592 commit ade28c4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/openai/resources/beta/assistants/assistants.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def update(
file_ids: A list of [File](https://platform.openai.com/docs/api-reference/files) IDs
attached to this assistant. There can be a maximum of 20 files attached to the
assistant. Files are ordered by their creation date in ascending order. If a
file was previosuly attached to the list but does not show up in the list, it
file was previously attached to the list but does not show up in the list, it
will be deleted from the assistant.
instructions: The system instructions that the assistant uses. The maximum length is 32768
Expand Down Expand Up @@ -465,7 +465,7 @@ async def update(
file_ids: A list of [File](https://platform.openai.com/docs/api-reference/files) IDs
attached to this assistant. There can be a maximum of 20 files attached to the
assistant. Files are ordered by their creation date in ascending order. If a
file was previosuly attached to the list but does not show up in the list, it
file was previously attached to the list but does not show up in the list, it
will be deleted from the assistant.
instructions: The system instructions that the assistant uses. The maximum length is 32768
Expand Down
2 changes: 1 addition & 1 deletion src/openai/types/beta/assistant_update_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class AssistantUpdateParams(TypedDict, total=False):
A list of [File](https://platform.openai.com/docs/api-reference/files) IDs
attached to this assistant. There can be a maximum of 20 files attached to the
assistant. Files are ordered by their creation date in ascending order. If a
file was previosuly attached to the list but does not show up in the list, it
file was previously attached to the list but does not show up in the list, it
will be deleted from the assistant.
"""

Expand Down
2 changes: 1 addition & 1 deletion src/openai/types/moderation.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class Categories(BaseModel):
Content that expresses, incites, or promotes hate based on race, gender,
ethnicity, religion, nationality, sexual orientation, disability status, or
caste. Hateful content aimed at non-protected groups (e.g., chess players) is
harrassment.
harassment.
"""

hate_threatening: bool = FieldInfo(alias="hate/threatening")
Expand Down

0 comments on commit ade28c4

Please sign in to comment.