-
Notifications
You must be signed in to change notification settings - Fork 34
/
manifest.lkml
55 lines (49 loc) · 1.83 KB
/
manifest.lkml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
project_name: "marketplace_bqml_ext"
application: ml-accelerator {
label: "Machine Learning Accelerator"
file: "bundle.js"
sri_hash: "spnMLxVFVZ71aj3VUpreZGBwpLD9+lzINATVhn47QEAgD5WGV85ID3R9wFiSakLq"
entitlements: {
core_api_methods: [
"all_lookml_models",
"all_users",
"create_query",
"run_query",
"lookml_model_explore",
"get_model",
"model_fieldname_suggestions",
"me",
"user_attribute_user_values",
"create_sql_query",
"run_sql_query"
]
use_form_submit: yes
use_embeds: yes
use_iframes: yes
new_window: yes
new_window_external_urls: ["https://en.wikipedia.org/wiki", "https://developers.google.com/machine-learning/glossary", "https://cloud.google.com/vertex-ai/docs/model-registry/introduction"]
scoped_user_attributes: [
"bigquery_connection_name",
"bqml_model_dataset_name",
"generate_text_model_name",
"gcp_project",
]
}
}
constant: CONNECTION_NAME {
value: "ml-accelerator"
export: override_required
}
constant: GCP_PROJECT {
value: "{{_user_attributes['marketplace_bqml_ext_ml_accelerator_gcp_project']}}"
}
constant: BQML_MODEL_DATASET_NAME {
value: "{{_user_attributes['marketplace_bqml_ext_ml_accelerator_bqml_model_dataset_name']}}"
}
constant: GENERATE_TEXT_MODEL_NAME {
value: "{{_user_attributes['marketplace_bqml_ext_ml_accelerator_generate_text_model_name']}}"
}
# First create an LLM model in the same dataset as specified in constant "BQML_MODEL_DATASET_NAME", then provide model name here
# https://cloud.google.com/bigquery/docs/generate-text
# Also, modify the service account used for the connection to obtain a new permission: bigquery.connections.use
# This is available to users with role Bigquery Connection User (https://cloud.google.com/iam/docs/understanding-roles#bigquery.connectionUser)