Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e0a8288

Browse files
Shuowei Lishuoweil
Shuowei Li
andauthoredDec 17, 2024
docs: add an "open in BQ Studio" link to all BigFrames sample notebooks (#1223)
* docs(bigquery): update minor parts in base.py * docs(bigquery): update minor changes for bigframes/ml/base.py * feat: Update lUpdate GeminiTextGenerator Tuning and Support score() method in Gemini-pro-1.5 \n Bug: b/381936588 and b/344891364 * feat: Update lUpdate GeminiTextGenerator Tuning and Support score() method in Gemini-pro-1.5 \n Bug: b/381936588 and b/344891364 * update testcase and docs for better clarification * docs(bigquery): update minor parts in base.py * fix syntax issue * add bq studio supports for files under foldger gen_ai * reset cropped file * add bq studio supports for the remainging files * fix a wrong link --------- Co-authored-by: Shuowei Li <shuowei@google.com>
1 parent b1e4172 commit e0a8288

7 files changed

+49
-7
lines changed
 

‎notebooks/generative_ai/bq_dataframes_llm_code_generation.ipynb

+7-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,13 @@
4949
" <img src=\"https://lh3.googleusercontent.com/UiNooY4LUgW_oTvpsNhPpQzsstV5W8F7rYgxgGBD85cWJoLmrOzhVs_ksK_vgx40SHs7jCqkTkCk=e14-rj-sc0xffffff-h130-w32\" alt=\"Vertex AI logo\">\n",
5050
" Open in Vertex AI Workbench\n",
5151
" </a>\n",
52-
" </td> \n",
52+
" </td>\n",
53+
" <td>\n",
54+
" <a href=\"https://pantheon.corp.google.com/bigquery?project=bigframes-dev&ws=!1m7!1m6!12m5!1m3!1sbigframes-dev!2sus-central1!3se8c41ea1-e159-4865-b2b8-5b784176193f!2e2\">\n",
55+
" <img src=\"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTW1gvOovVlbZAIZylUtf5Iu8-693qS1w5NJw&s\" alt=\"BQ logo\" width=\"35\">\n",
56+
" Open in BQ Studio\n",
57+
" </a>\n",
58+
" </td>\n",
5359
"</table>"
5460
]
5561
},

‎notebooks/generative_ai/bq_dataframes_llm_kmeans.ipynb

+7-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,13 @@
4646
" <img src=\"https://lh3.googleusercontent.com/UiNooY4LUgW_oTvpsNhPpQzsstV5W8F7rYgxgGBD85cWJoLmrOzhVs_ksK_vgx40SHs7jCqkTkCk=e14-rj-sc0xffffff-h130-w32\" alt=\"Vertex AI logo\">\n",
4747
" Open in Vertex AI Workbench\n",
4848
" </a>\n",
49-
" </td> \n",
49+
" </td>\n",
50+
" <td>\n",
51+
" <a href=\"https://pantheon.corp.google.com/bigquery?project=bigframes-dev&ws=!1m7!1m6!12m5!1m3!1sbigframes-dev!2sus-central1!3s06318b1a-ab57-46e4-b0a2-a0ad6665b0ee!2e2\">\n",
52+
" <img src=\"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTW1gvOovVlbZAIZylUtf5Iu8-693qS1w5NJw&s\" alt=\"BQ logo\" width=\"35\">\n",
53+
" Open in BQ Studio\n",
54+
" </a>\n",
55+
" </td> \n",
5056
"</table>"
5157
]
5258
},

‎notebooks/generative_ai/bq_dataframes_ml_drug_name_generation.ipynb

+7-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,13 @@
4848
" <img src=\"https://lh3.googleusercontent.com/UiNooY4LUgW_oTvpsNhPpQzsstV5W8F7rYgxgGBD85cWJoLmrOzhVs_ksK_vgx40SHs7jCqkTkCk=e14-rj-sc0xffffff-h130-w32\" alt=\"Vertex AI logo\">\n",
4949
" Open in Vertex AI Workbench\n",
5050
" </a>\n",
51-
" </td> \n",
51+
" </td>\n",
52+
" <td>\n",
53+
" <a href=\"https://pantheon.corp.google.com/bigquery?project=bigframes-dev&ws=!1m7!1m6!12m5!1m3!1sbigframes-dev!2sus-central1!3s4da57cb0-e53d-4bcb-bbe4-d0ad3982648e!2e2\">\n",
54+
" <img src=\"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTW1gvOovVlbZAIZylUtf5Iu8-693qS1w5NJw&s\" alt=\"BQ logo\" width=\"35\">\n",
55+
" Open in BQ Studio\n",
56+
" </a>\n",
57+
" </td> \n",
5258
"</table>"
5359
]
5460
},

‎notebooks/getting_started/getting_started_bq_dataframes.ipynb

+7-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,13 @@
4949
" <img src=\"https://lh3.googleusercontent.com/UiNooY4LUgW_oTvpsNhPpQzsstV5W8F7rYgxgGBD85cWJoLmrOzhVs_ksK_vgx40SHs7jCqkTkCk=e14-rj-sc0xffffff-h130-w32\" alt=\"Vertex AI logo\">\n",
5050
" Open in Vertex AI Workbench\n",
5151
" </a>\n",
52-
" </td> \n",
52+
" </td>\n",
53+
" <td>\n",
54+
" <a href=\"https://pantheon.corp.google.com/bigquery?ws=!1m7!1m6!12m5!1m3!1sbigframes-dev!2sus-central1!3sbf431d8d-e7a6-453f-93e6-7b918f348d7f!2e2\">\n",
55+
" <img src=\"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTW1gvOovVlbZAIZylUtf5Iu8-693qS1w5NJw&s\" alt=\"BQ logo\" width=\"35\">\n",
56+
" Open in BQ Studio\n",
57+
" </a>\n",
58+
" </td> \n",
5359
"</table>"
5460
]
5561
},

‎notebooks/getting_started/ml_fundamentals_bq_dataframes.ipynb

+7-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,13 @@
4949
" <img src=\"https://lh3.googleusercontent.com/UiNooY4LUgW_oTvpsNhPpQzsstV5W8F7rYgxgGBD85cWJoLmrOzhVs_ksK_vgx40SHs7jCqkTkCk=e14-rj-sc0xffffff-h130-w32\" alt=\"Vertex AI logo\">\n",
5050
" Open in Vertex AI Workbench\n",
5151
" </a>\n",
52-
" </td> \n",
52+
" </td>\n",
53+
" <td>\n",
54+
" <a href=\"https://pantheon.corp.google.com/bigquery?ws=!1m7!1m6!12m5!1m3!1sbigframes-dev!2sus-central1!3s52b80d56-2706-4b9d-a1bf-b2770834292a!2e2&project=bigframes-dev\">\n",
55+
" <img src=\"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTW1gvOovVlbZAIZylUtf5Iu8-693qS1w5NJw&s\" alt=\"BQ logo\" width=\"35\">\n",
56+
" Open in BQ Studio\n",
57+
" </a>\n",
58+
" </td> \n",
5359
"</table>"
5460
]
5561
},

‎notebooks/remote_functions/remote_function_vertex_claude_model.ipynb

+7-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,13 @@
1818
" <img src=\"https://cloud.google.com/ml-engine/images/github-logo-32px.png\" alt=\"GitHub logo\">\n",
1919
" View on GitHub\n",
2020
" </a>\n",
21-
" </td> \n",
21+
" </td>\n",
22+
" <td>\n",
23+
" <a href=\"https://pantheon.corp.google.com/bigquery?project=bigframes-dev&ws=!1m7!1m6!12m5!1m3!1sbigframes-dev!2sus-central1!3s9556e137-dc3d-47d1-9f21-e8c90b01a047!2e2\">\n",
24+
" <img src=\"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTW1gvOovVlbZAIZylUtf5Iu8-693qS1w5NJw&s\" alt=\"BQ logo\" width=\"35\">\n",
25+
" Open in BQ Studio\n",
26+
" </a>\n",
27+
" </td> \n",
2228
"</table>"
2329
]
2430
},

‎notebooks/visualization/bq_dataframes_covid_line_graphs.ipynb

+7-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,13 @@
4343
" <img src=\"https://cloud.google.com/ml-engine/images/github-logo-32px.png\" alt=\"GitHub logo\">\n",
4444
" View on GitHub\n",
4545
" </a>\n",
46-
" </td> \n",
46+
" </td>\n",
47+
" <td>\n",
48+
" <a href=\"https://pantheon.corp.google.com/bigquery?project=bigframes-dev&ws=!1m7!1m6!12m5!1m3!1sbigframes-dev!2sus-central1!3s0c5e7d12-2769-439f-a34a-cf9cb4eb1336!2e2\">\n",
49+
" <img src=\"https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTW1gvOovVlbZAIZylUtf5Iu8-693qS1w5NJw&s\" alt=\"BQ logo\" width=\"35\">\n",
50+
" Open in BQ Studio\n",
51+
" </a>\n",
52+
" </td> \n",
4753
"</table>"
4854
]
4955
},

0 commit comments

Comments
 (0)
Failed to load comments.