Skip to content

Commit d45ed7f

Browse files
docs: improve audio example to show how to stream to a file (#1017)
1 parent 6a8b806 commit d45ed7f

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/openai/resources/beta/assistants/assistants.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def update(
172172
file_ids: A list of [File](https://platform.openai.com/docs/api-reference/files) IDs
173173
attached to this assistant. There can be a maximum of 20 files attached to the
174174
assistant. Files are ordered by their creation date in ascending order. If a
175-
file was previously attached to the list but does not show up in the list, it
175+
file was previosuly attached to the list but does not show up in the list, it
176176
will be deleted from the assistant.
177177
178178
instructions: The system instructions that the assistant uses. The maximum length is 32768
@@ -465,7 +465,7 @@ async def update(
465465
file_ids: A list of [File](https://platform.openai.com/docs/api-reference/files) IDs
466466
attached to this assistant. There can be a maximum of 20 files attached to the
467467
assistant. Files are ordered by their creation date in ascending order. If a
468-
file was previously attached to the list but does not show up in the list, it
468+
file was previosuly attached to the list but does not show up in the list, it
469469
will be deleted from the assistant.
470470
471471
instructions: The system instructions that the assistant uses. The maximum length is 32768

src/openai/types/beta/assistant_update_params.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class AssistantUpdateParams(TypedDict, total=False):
2525
A list of [File](https://platform.openai.com/docs/api-reference/files) IDs
2626
attached to this assistant. There can be a maximum of 20 files attached to the
2727
assistant. Files are ordered by their creation date in ascending order. If a
28-
file was previously attached to the list but does not show up in the list, it
28+
file was previosuly attached to the list but does not show up in the list, it
2929
will be deleted from the assistant.
3030
"""
3131

src/openai/types/chat/chat_completion.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class Choice(BaseModel):
3030
index: int
3131
"""The index of the choice in the list of choices."""
3232

33-
logprobs: Optional[ChoiceLogprobs] = None
33+
logprobs: Optional[ChoiceLogprobs]
3434
"""Log probability information for the choice."""
3535

3636
message: ChatCompletionMessage

src/openai/types/moderation.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Categories(BaseModel):
2525
Content that expresses, incites, or promotes hate based on race, gender,
2626
ethnicity, religion, nationality, sexual orientation, disability status, or
2727
caste. Hateful content aimed at non-protected groups (e.g., chess players) is
28-
harassment.
28+
harrassment.
2929
"""
3030

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

0 commit comments

Comments
 (0)