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
The Gemini API lets you tune models on your own data. Since it's your data and your tuned models this needs stricter access controls than API-Keys can provide.
180
+
181
+
Before you can create a tuned model, you'll need to [setup OAuth for your project](https://ai.google.dev/palm_docs/oauth_quickstart).
182
+
183
+
```csharp
184
+
usingMscc.GenerativeAI;
185
+
186
+
varprojectId="your_google_project_id"; // the ID of a project, not its name.
187
+
varaccessToken="your_access_token"; // use `gcloud auth application-default print-access-token` to get it.
0 commit comments