Skip to content
Open
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
2 changes: 1 addition & 1 deletion src/openai/lib/streaming/chat/_completions.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ def _accumulate_chunk(self, chunk: ChatCompletionChunk) -> ParsedChatCompletionS
choice_snapshot.message,
# we don't want to serialise / deserialise our custom properties
# as they won't appear in the delta and we don't want to have to
# continuosly reparse the content
# continuously reparse the content
exclude=cast(
# cast required as mypy isn't smart enough to infer `True` here to `Literal[True]`
IncEx,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class ConversationItemInputAudioTranscriptionDeltaEvent(BaseModel):
logprobs: Optional[List[LogProbProperties]] = None
"""The log probabilities of the transcription.

These can be enabled by configurating the session with
These can be enabled by configuring the session with
`"include": ["item.input_audio_transcription.logprobs"]`. Each entry in the
array corresponds a log probability of which token would be selected for this
chunk of transcription. This can help to identify if it was possible there were
Expand Down
2 changes: 1 addition & 1 deletion src/openai/types/realtime/realtime_error_event.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class RealtimeErrorEvent(BaseModel):
"""
Returned when an error occurs, which could be a client problem or a server
problem. Most errors are recoverable and the session will stay open, we
recommend to implementors to monitor and log error messages by default.
recommend to implementers to monitor and log error messages by default.
"""

error: RealtimeError
Expand Down