You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 0e34831
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/source/index.rst
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ Google Gen AI SDK
16
16
17
17
Google Gen AI Python SDK provides an interface for developers to integrate
18
18
Google's generative models into their Python applications. It supports the
19
-
`Gemini Developer API <https://ai.google.dev/gemini-api/docs>`_ and
19
+
`Gemini Developer API <https://aistudio.google.com/docs>`_ and
20
20
`Gemini Enterprise Agent Platform API <https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/beginners-guide>`_
21
21
APIs.
22
22
@@ -46,7 +46,7 @@ Create a client
46
46
---------------
47
47
48
48
Please run one of the following code blocks to create a client for
49
-
different services (`Gemini Developer API <https://ai.google.dev/gemini-api/docs>`_ or `Gemini Enterprise Agent Platform API <https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/beginners-guide>`_).
49
+
different services (`Gemini Developer API <https://aistudio.google.com/docs>`_ or `Gemini Enterprise Agent Platform API <https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/beginners-guide>`_).
50
50
51
51
.. code:: python
52
52
@@ -607,7 +607,7 @@ deterministic, lowering the `temperature` parameter reduces randomness, with
607
607
values near 0 minimizing variability. Capabilities and parameter defaults for
and `Gemini API docs <https://ai.google.dev/gemini-api/docs/models>`_ respectively.
610
+
and `Gemini API docs <https://aistudio.google.com/docs/models>`_ respectively.
611
611
612
612
.. code:: python
613
613
@@ -1663,7 +1663,7 @@ Interactions
1663
1663
============
1664
1664
1665
1665
The Interactions API is a unified interface for interacting with Gemini models and agents. It simplifies state management, tool orchestration, and long-running tasks.
1666
-
See the `Interactions documentation <https://ai.google.dev/gemini-api/docs/interactions>`_ for more details.
1666
+
See the `Interactions documentation <https://aistudio.google.com/docs/interactions-overview>`_ for more details.
1667
1667
1668
1668
Basic Interaction
1669
1669
-----------------
@@ -2113,7 +2113,7 @@ experimental backend features that are not yet formally supported in the SDK.
2113
2113
The structure of the dictionary must match the backend API's request structure.
2114
2114
2115
2115
- Gemini Enterprise Agent Platform backend API docs: https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest
2116
-
- GeminiAPI backend API docs: https://ai.google.dev/api/rest
2116
+
- GeminiAPI backend API docs: https://aistudio.google.com/api-reference
Copy file name to clipboardExpand all lines: google/genai/_gaos/interactions.py
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -112,7 +112,7 @@ def create(
112
112
(Unicode codepoints) and can only contain lowercase letters, numeric
113
113
characters, underscores, and dashes. International characters are allowed.
114
114
Label values are optional. Label keys must start with a letter.
115
-
:param model: The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details.
115
+
:param model: The model that will complete your prompt.\n\nSee [models](https://aistudio.google.com/docs/models) for additional details.
116
116
:param previous_interaction_id: The ID of the previous interaction, if any.
117
117
:param response_format: Enforces that the generated response is a JSON object that complies with
118
118
the JSON schema specified in this field.
@@ -180,7 +180,7 @@ def create(
180
180
(Unicode codepoints) and can only contain lowercase letters, numeric
181
181
characters, underscores, and dashes. International characters are allowed.
182
182
Label values are optional. Label keys must start with a letter.
183
-
:param model: The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details.
183
+
:param model: The model that will complete your prompt.\n\nSee [models](https://aistudio.google.com/docs/models) for additional details.
184
184
:param previous_interaction_id: The ID of the previous interaction, if any.
185
185
:param response_format: Enforces that the generated response is a JSON object that complies with
186
186
the JSON schema specified in this field.
@@ -365,7 +365,7 @@ def create(
365
365
(Unicode codepoints) and can only contain lowercase letters, numeric
366
366
characters, underscores, and dashes. International characters are allowed.
367
367
Label values are optional. Label keys must start with a letter.
368
-
:param model: The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details.
368
+
:param model: The model that will complete your prompt.\n\nSee [models](https://aistudio.google.com/docs/models) for additional details.
369
369
:param previous_interaction_id: The ID of the previous interaction, if any.
370
370
:param response_format: Enforces that the generated response is a JSON object that complies with
371
371
the JSON schema specified in this field.
@@ -418,7 +418,7 @@ def create(
418
418
(Unicode codepoints) and can only contain lowercase letters, numeric
419
419
characters, underscores, and dashes. International characters are allowed.
420
420
Label values are optional. Label keys must start with a letter.
421
-
:param model: The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details.
421
+
:param model: The model that will complete your prompt.\n\nSee [models](https://aistudio.google.com/docs/models) for additional details.
422
422
:param previous_interaction_id: The ID of the previous interaction, if any.
423
423
:param response_format: Enforces that the generated response is a JSON object that complies with
424
424
the JSON schema specified in this field.
@@ -1387,7 +1387,7 @@ async def create(
1387
1387
(Unicode codepoints) and can only contain lowercase letters, numeric
1388
1388
characters, underscores, and dashes. International characters are allowed.
1389
1389
Label values are optional. Label keys must start with a letter.
1390
-
:param model: The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details.
1390
+
:param model: The model that will complete your prompt.\n\nSee [models](https://aistudio.google.com/docs/models) for additional details.
1391
1391
:param previous_interaction_id: The ID of the previous interaction, if any.
1392
1392
:param response_format: Enforces that the generated response is a JSON object that complies with
1393
1393
the JSON schema specified in this field.
@@ -1455,7 +1455,7 @@ async def create(
1455
1455
(Unicode codepoints) and can only contain lowercase letters, numeric
1456
1456
characters, underscores, and dashes. International characters are allowed.
1457
1457
Label values are optional. Label keys must start with a letter.
1458
-
:param model: The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details.
1458
+
:param model: The model that will complete your prompt.\n\nSee [models](https://aistudio.google.com/docs/models) for additional details.
1459
1459
:param previous_interaction_id: The ID of the previous interaction, if any.
1460
1460
:param response_format: Enforces that the generated response is a JSON object that complies with
1461
1461
the JSON schema specified in this field.
@@ -1640,7 +1640,7 @@ async def create(
1640
1640
(Unicode codepoints) and can only contain lowercase letters, numeric
1641
1641
characters, underscores, and dashes. International characters are allowed.
1642
1642
Label values are optional. Label keys must start with a letter.
1643
-
:param model: The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details.
1643
+
:param model: The model that will complete your prompt.\n\nSee [models](https://aistudio.google.com/docs/models) for additional details.
1644
1644
:param previous_interaction_id: The ID of the previous interaction, if any.
1645
1645
:param response_format: Enforces that the generated response is a JSON object that complies with
1646
1646
the JSON schema specified in this field.
@@ -1693,7 +1693,7 @@ async def create(
1693
1693
(Unicode codepoints) and can only contain lowercase letters, numeric
1694
1694
characters, underscores, and dashes. International characters are allowed.
1695
1695
Label values are optional. Label keys must start with a letter.
1696
-
:param model: The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details.
1696
+
:param model: The model that will complete your prompt.\n\nSee [models](https://aistudio.google.com/docs/models) for additional details.
1697
1697
:param previous_interaction_id: The ID of the previous interaction, if any.
1698
1698
:param response_format: Enforces that the generated response is a JSON object that complies with
Copy file name to clipboardExpand all lines: google/genai/_gaos/types/interactions/createmodelinteraction.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -79,7 +79,7 @@ class CreateModelInteractionParam(TypedDict):
79
79
r"""Interaction for generating the completion using models."""
80
80
81
81
model: Model
82
-
r"""The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details."""
82
+
r"""The model that will complete your prompt.\n\nSee [models](https://aistudio.google.com/docs/models) for additional details."""
83
83
background: NotRequired[bool]
84
84
r"""Input only. Whether to run the model interaction in the background."""
85
85
cached_content: NotRequired[str]
@@ -135,7 +135,7 @@ class CreateModelInteraction(BaseModel):
135
135
r"""Interaction for generating the completion using models."""
136
136
137
137
model: Model
138
-
r"""The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details."""
138
+
r"""The model that will complete your prompt.\n\nSee [models](https://aistudio.google.com/docs/models) for additional details."""
139
139
140
140
background: Optional[bool] =None
141
141
r"""Input only. Whether to run the model interaction in the background."""
Copy file name to clipboardExpand all lines: google/genai/_gaos/types/interactions/interaction.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -222,7 +222,7 @@ class InteractionTypedDict(TypedDict):
222
222
Label values are optional. Label keys must start with a letter.
223
223
"""
224
224
model: NotRequired[Model]
225
-
r"""The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details."""
225
+
r"""The model that will complete your prompt.\n\nSee [models](https://aistudio.google.com/docs/models) for additional details."""
226
226
output_audio: NotRequired[AudioContentParam]
227
227
r"""An audio content block."""
228
228
output_image: NotRequired[ImageContentParam]
@@ -333,7 +333,7 @@ class Interaction(BaseModel):
333
333
"""
334
334
335
335
model: Optional[Model] =None
336
-
r"""The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details."""
336
+
r"""The model that will complete your prompt.\n\nSee [models](https://aistudio.google.com/docs/models) for additional details."""
Copy file name to clipboardExpand all lines: google/genai/_gaos/types/interactions/model.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -97,4 +97,4 @@
97
97
],
98
98
UnrecognizedStr,
99
99
]
100
-
r"""The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details."""
100
+
r"""The model that will complete your prompt.\n\nSee [models](https://aistudio.google.com/docs/models) for additional details."""
0 commit comments