Commit cacd374b
Changed files (5)
src/openai/types/beta/realtime/conversation_item_content.py
@@ -11,8 +11,9 @@ __all__ = ["ConversationItemContent"]
class ConversationItemContent(BaseModel):
id: Optional[str] = None
"""
- ID of a previous conversation item (like a model response), used for
- `item_reference` content types.
+ ID of a previous conversation item to reference (for `item_reference` content
+ types in `response.create` events). These can reference both client and server
+ created items.
"""
audio: Optional[str] = None
src/openai/types/beta/realtime/conversation_item_content_param.py
@@ -10,8 +10,9 @@ __all__ = ["ConversationItemContentParam"]
class ConversationItemContentParam(TypedDict, total=False):
id: str
"""
- ID of a previous conversation item (like a model response), used for
- `item_reference` content types.
+ ID of a previous conversation item to reference (for `item_reference` content
+ types in `response.create` events). These can reference both client and server
+ created items.
"""
audio: str
src/openai/types/beta/realtime/response_create_event.py
@@ -89,7 +89,8 @@ class Response(BaseModel):
tool_choice: Optional[str] = None
"""How the model chooses tools.
- Options are `auto`, `none`, `required`, or specify a function.
+ Options are `auto`, `none`, `required`, or specify a function, like
+ `{"type": "function", "function": {"name": "my_function"}}`.
"""
tools: Optional[List[ResponseTool]] = None
src/openai/types/beta/realtime/response_create_event_param.py
@@ -90,7 +90,8 @@ class Response(TypedDict, total=False):
tool_choice: str
"""How the model chooses tools.
- Options are `auto`, `none`, `required`, or specify a function.
+ Options are `auto`, `none`, `required`, or specify a function, like
+ `{"type": "function", "function": {"name": "my_function"}}`.
"""
tools: Iterable[ResponseTool]
.stats.yml
@@ -1,2 +1,2 @@
configured_endpoints: 69
-openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-0d64ca9e45f51b4279f87b205eeb3a3576df98407698ce053f2e2302c1c08df1.yml
+openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai-a39aca84ed97ebafb707ebd5221e2787c5a42ff3d98f2ffaea8a0dcd84cbcbcb.yml