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
Copy file name to clipboardExpand all lines: models/google.mdx
+23-4Lines changed: 23 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,14 +34,33 @@ setx GOOGLE_API_KEY ***
34
34
35
35
To use Vertex AI:
36
36
37
-
1. Install Google Cloud CLI and authenticate:
37
+
1. Install Google Cloud CLI and authenticate. More details [here](https://cloud.google.com/vertex-ai/generative-ai/docs/start/quickstarts/quickstart-multimodal#setup-local).
38
+
38
39
```bash
39
40
gcloud auth application-default login
40
41
```
41
42
42
-
2. Set your project ID (optional if `GOOGLE_CLOUD_PROJECT` is set):
@@ -81,7 +100,7 @@ agent.print_response("Share a 2 sentence horror story.")
81
100
82
101
## Grounding and Search
83
102
84
-
Gemini models support grounding and search capabilities through optional parameters. This automatically sends tools for grounding or search to Gemini. See more details [here](https://ai.google.dev/gemini-api/docs/grounding?lang=python).
103
+
Gemini models support grounding and search capabilities through optional parameters. This automatically sends tools for grounding or search to Gemini. See more details [here](https://ai.google.dev/gemini-api/docs/grounding?lang=python).
85
104
86
105
To enable these features, set the corresponding parameter when initializing the Gemini model:
0 commit comments