Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(internal): fix typos #988

Merged
merged 2 commits into from
Dec 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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