Skip to content

Commit 7a9e01a

Browse files
chore(realtime): update docstrings (#1964)
1 parent 8141095 commit 7a9e01a

File tree

5 files changed

+11
-7
lines changed

5 files changed

+11
-7
lines changed

Diff for: .stats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 69
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-0d64ca9e45f51b4279f87b205eeb3a3576df98407698ce053f2e2302c1c08df1.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-a39aca84ed97ebafb707ebd5221e2787c5a42ff3d98f2ffaea8a0dcd84cbcbcb.yml

Diff for: src/openai/types/beta/realtime/conversation_item_content.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@
1111
class ConversationItemContent(BaseModel):
1212
id: Optional[str] = None
1313
"""
14-
ID of a previous conversation item (like a model response), used for
15-
`item_reference` content types.
14+
ID of a previous conversation item to reference (for `item_reference` content
15+
types in `response.create` events). These can reference both client and server
16+
created items.
1617
"""
1718

1819
audio: Optional[str] = None

Diff for: src/openai/types/beta/realtime/conversation_item_content_param.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@
1010
class ConversationItemContentParam(TypedDict, total=False):
1111
id: str
1212
"""
13-
ID of a previous conversation item (like a model response), used for
14-
`item_reference` content types.
13+
ID of a previous conversation item to reference (for `item_reference` content
14+
types in `response.create` events). These can reference both client and server
15+
created items.
1516
"""
1617

1718
audio: str

Diff for: src/openai/types/beta/realtime/response_create_event.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@ class Response(BaseModel):
8989
tool_choice: Optional[str] = None
9090
"""How the model chooses tools.
9191
92-
Options are `auto`, `none`, `required`, or specify a function.
92+
Options are `auto`, `none`, `required`, or specify a function, like
93+
`{"type": "function", "function": {"name": "my_function"}}`.
9394
"""
9495

9596
tools: Optional[List[ResponseTool]] = None

Diff for: src/openai/types/beta/realtime/response_create_event_param.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ class Response(TypedDict, total=False):
9090
tool_choice: str
9191
"""How the model chooses tools.
9292
93-
Options are `auto`, `none`, `required`, or specify a function.
93+
Options are `auto`, `none`, `required`, or specify a function, like
94+
`{"type": "function", "function": {"name": "my_function"}}`.
9495
"""
9596

9697
tools: Iterable[ResponseTool]

0 commit comments

Comments
 (0)