Skip to content
Closed
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
30 changes: 0 additions & 30 deletions google/genai/_interactions/resources/interactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,6 @@ def create(

previous_interaction_id: The ID of the previous interaction, if any.

response_format: Enforces that the generated response is a JSON object that complies with the
JSON schema specified in this field.

response_mime_type: The mime type of the response. This is required if response_format is set.

response_modalities: The requested modalities of the response (TEXT, IMAGE, AUDIO).
Expand Down Expand Up @@ -177,9 +174,6 @@ def create(

previous_interaction_id: The ID of the previous interaction, if any.

response_format: Enforces that the generated response is a JSON object that complies with the
JSON schema specified in this field.

response_mime_type: The mime type of the response. This is required if response_format is set.

response_modalities: The requested modalities of the response (TEXT, IMAGE, AUDIO).
Expand Down Expand Up @@ -252,9 +246,6 @@ def create(

previous_interaction_id: The ID of the previous interaction, if any.

response_format: Enforces that the generated response is a JSON object that complies with the
JSON schema specified in this field.

response_mime_type: The mime type of the response. This is required if response_format is set.

response_modalities: The requested modalities of the response (TEXT, IMAGE, AUDIO).
Expand Down Expand Up @@ -331,9 +322,6 @@ def create(

previous_interaction_id: The ID of the previous interaction, if any.

response_format: Enforces that the generated response is a JSON object that complies with the
JSON schema specified in this field.

response_mime_type: The mime type of the response. This is required if response_format is set.

response_modalities: The requested modalities of the response (TEXT, IMAGE, AUDIO).
Expand Down Expand Up @@ -401,9 +389,6 @@ def create(

previous_interaction_id: The ID of the previous interaction, if any.

response_format: Enforces that the generated response is a JSON object that complies with the
JSON schema specified in this field.

response_mime_type: The mime type of the response. This is required if response_format is set.

response_modalities: The requested modalities of the response (TEXT, IMAGE, AUDIO).
Expand Down Expand Up @@ -801,9 +786,6 @@ async def create(

previous_interaction_id: The ID of the previous interaction, if any.

response_format: Enforces that the generated response is a JSON object that complies with the
JSON schema specified in this field.

response_mime_type: The mime type of the response. This is required if response_format is set.

response_modalities: The requested modalities of the response (TEXT, IMAGE, AUDIO).
Expand Down Expand Up @@ -873,9 +855,6 @@ async def create(

previous_interaction_id: The ID of the previous interaction, if any.

response_format: Enforces that the generated response is a JSON object that complies with the
JSON schema specified in this field.

response_mime_type: The mime type of the response. This is required if response_format is set.

response_modalities: The requested modalities of the response (TEXT, IMAGE, AUDIO).
Expand Down Expand Up @@ -948,9 +927,6 @@ async def create(

previous_interaction_id: The ID of the previous interaction, if any.

response_format: Enforces that the generated response is a JSON object that complies with the
JSON schema specified in this field.

response_mime_type: The mime type of the response. This is required if response_format is set.

response_modalities: The requested modalities of the response (TEXT, IMAGE, AUDIO).
Expand Down Expand Up @@ -1027,9 +1003,6 @@ async def create(

previous_interaction_id: The ID of the previous interaction, if any.

response_format: Enforces that the generated response is a JSON object that complies with the
JSON schema specified in this field.

response_mime_type: The mime type of the response. This is required if response_format is set.

response_modalities: The requested modalities of the response (TEXT, IMAGE, AUDIO).
Expand Down Expand Up @@ -1097,9 +1070,6 @@ async def create(

previous_interaction_id: The ID of the previous interaction, if any.

response_format: Enforces that the generated response is a JSON object that complies with the
JSON schema specified in this field.

response_mime_type: The mime type of the response. This is required if response_format is set.

response_modalities: The requested modalities of the response (TEXT, IMAGE, AUDIO).
Expand Down
4 changes: 0 additions & 4 deletions google/genai/_interactions/types/interaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,6 @@ class Interaction(BaseModel):
"""The ID of the previous interaction, if any."""

response_format: Optional[object] = None
"""
Enforces that the generated response is a JSON object that complies with the
JSON schema specified in this field.
"""

response_mime_type: Optional[str] = None
"""The mime type of the response. This is required if response_format is set."""
Expand Down
8 changes: 0 additions & 8 deletions google/genai/_interactions/types/interaction_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,6 @@ class BaseCreateModelInteractionParams(TypedDict, total=False):
"""The ID of the previous interaction, if any."""

response_format: object
"""
Enforces that the generated response is a JSON object that complies with the
JSON schema specified in this field.
"""

response_mime_type: str
"""The mime type of the response. This is required if response_format is set."""
Expand Down Expand Up @@ -166,10 +162,6 @@ class BaseCreateAgentInteractionParams(TypedDict, total=False):
"""The ID of the previous interaction, if any."""

response_format: object
"""
Enforces that the generated response is a JSON object that complies with the
JSON schema specified in this field.
"""

response_mime_type: str
"""The mime type of the response. This is required if response_format is set."""
Expand Down
Loading