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: BQ_RemoteFunction_Sample/README.md
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,14 +6,17 @@ This README provides instructions for setting up a BigQuery Remote Function that
6
6
-[BQ Remote function Doc](https://cloud.google.com/bigquery/docs/remote-functions)
7
7
-[Create Cloud Function Doc](https://cloud.google.com/functions/docs/create)
8
8
9
-
##Required Access
9
+
# Required Access
10
10
1. Developer needs to have the following roles:
11
11
- Cloud Run Developer
12
12
- Vertex AI User
13
13
- BigQuery User
14
14
2. Grant Service Accounts IDs access between different services (see Step 2)
15
15
16
-
## Step 1: Create Cloud Function using the [Create Cloud Function Doc](https://cloud.google.com/functions/docs/create)
16
+
## Step 1: Enable Vertex AI API and Enable Claude Models on Vertex AI
17
+
You can follow this documentation: [Link to Claude On Vertex AI Doc](https://cloud.google.com/vertex-ai/generative-ai/docs/partner-models/use-claude#before_you_begin_)
18
+
19
+
## Step 2: Create Cloud Function using the [Create Cloud Function Doc](https://cloud.google.com/functions/docs/create)
17
20
You can use the provided Sample Code below or in the /CloudFunction folder in this folder
Follow the [documentation](https://cloud.google.com/bigquery/docs/remote-functions#create_a_connection) to create a BigQuery Remote Function Connection and set up proper IAM access. Additionally, grant Cloud Run access to the Vertex AI user role.
0 commit comments