Commit ecc3b441

vuittont60 <81072379+vuittont60@users.noreply.github.com>
2023-12-24 07:23:41
chore(src): fix typos (#988)
1 parent acbe5ff
Changed files (3)
src
openai
resources
beta
assistants
types
src/openai/resources/beta/assistants/assistants.py
@@ -172,7 +172,7 @@ class Assistants(SyncAPIResource):
           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
@@ -465,7 +465,7 @@ class AsyncAssistants(AsyncAPIResource):
           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
src/openai/types/beta/assistant_update_params.py
@@ -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.
     """
 
src/openai/types/moderation.py
@@ -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")