Update GCP configuration docs

This commit is contained in:
Cg.
2024-07-16 18:22:07 +09:00
parent 2096be43b9
commit 011ee94cbf
+6 -5
View File
@@ -19,11 +19,12 @@ GCP_CREDENTIALS=my-first-project:xxx@yyy.com:us-east5:-----BEGIN PRIVATE KEY----
```
## Setup Vertex AI
1. Go to [https://cloud.google.com/](https://cloud.google.com/) and sign up for a GCP account.
2. Go to [https://console.cloud.google.com/vertex-ai](https://console.cloud.google.com/vertex-ai) to enable Vertex AI API and apply for the Claude models.
3. Create a [Service Account](https://console.cloud.google.com/projectselector/iam-admin/serviceaccounts/create?walkthrough_id=iam--create-service-account#step_index=1) , and make sure to grant the role of "Vertex AI User" or "Vertex AI Administrator".
4. On the service account page you just created, create a new key and select "JSON". The JSON file will be downloaded automatically.
5. The required credential is in the JSON file you just downloaded.
1. Go to [https://cloud.google.com/vertex-ai](https://cloud.google.com/vertex-ai) and sign up for a GCP account. ($150 free credits without credit card, $300 free credits with credit card, credits expire in 90 days)
2. Go to [https://console.cloud.google.com/marketplace/product/google/aiplatform.googleapis.com](https://console.cloud.google.com/marketplace/product/google/aiplatform.googleapis.com) to enable Vertex AI API.
3. Go to [https://console.cloud.google.com/vertex-ai](https://console.cloud.google.com/vertex-ai) to apply for the Claude models.
4. Create a [Service Account](https://console.cloud.google.com/projectselector/iam-admin/serviceaccounts/create?walkthrough_id=iam--create-service-account#step_index=1) , and make sure to grant the role of "Vertex AI User" or "Vertex AI Administrator".
5. On the service account page you just created, create a new key and select "JSON". The JSON file will be downloaded automatically.
6. The required credential is in the JSON file you just downloaded.
## Supported model IDs
Users can send these model IDs to the proxy to invoke the corresponding models.