{"id":5463,"date":"2024-09-12T17:54:24","date_gmt":"2024-09-12T08:54:24","guid":{"rendered":"https:\/\/blog.since2020.jp\/?p=5463"},"modified":"2024-09-12T18:07:30","modified_gmt":"2024-09-12T09:07:30","slug":"looker-explore-assistant-part2","status":"publish","type":"post","link":"https:\/\/since2020.jp\/media\/looker-explore-assistant-part2\/","title":{"rendered":"Looker Explore Assistant\u69cb\u7bc9\u30d1\u30fc\u30c82: \u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u7de8"},"content":{"rendered":"\n<p>Explore Assistant\u306e\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u306f\u3001Looker\u3068BigQuery\u306a\u3069\u306e\u30a4\u30f3\u30d5\u30e9\u3092\u9023\u643a\u3055\u305b\u308b\u305f\u3081\u306e\u91cd\u8981\u306a\u30b9\u30c6\u30c3\u30d7\u3067\u3059\u3002\u4eca\u56de\u306f\u3001Terraform\u3092\u4f7f\u7528\u3057\u3066BigQuery\u3092\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306b\u8a2d\u5b9a\u3057\u3001AI\u30e2\u30c7\u30eb\u3092\u52d5\u4f5c\u3055\u305b\u308b\u305f\u3081\u306e\u30b9\u30c6\u30c3\u30d7\u3092\u8a73\u3057\u304f\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n\n\n<h2>\u306f\u3058\u3081\u306b<\/h2>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">Explore Assistant\u306e\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u306f\u3001Looker\u3068BigQuery\u306a\u3069\u306e\u30a4\u30f3\u30d5\u30e9\u3092\u9023\u643a\u3055\u305b\u308b\u305f\u3081\u306e\u91cd\u8981\u306a\u30b9\u30c6\u30c3\u30d7\u3067\u3059\u3002\u3053\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u306f\u3001Terraform\u3092\u4f7f\u7528\u3057\u3066BigQuery\u3092\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306b\u8a2d\u5b9a\u3057\u3001AI\u30e2\u30c7\u30eb\u3092\u52d5\u4f5c\u3055\u305b\u308b\u305f\u3081\u306e\u30b9\u30c6\u30c3\u30d7\u3092\u8a73\u3057\u304f\u8aac\u660e\u3057\u307e\u3059\u3002<\/span><!-- notionvc: 5ac06c6c-7609-47f0-a3cc-c99072eb9c0b --><\/p>\r\n<b><span style=\"font-family: arial, helvetica, sans-serif\">\u524d\u56de\u306e\u8a18\u4e8b\u306f\u3053\u3061\u3089\uff1a<\/span><span style=\"color: #0000ff\"><a href=\"https:\/\/blog.since2020.jp\/bi\/looker-explore-assistant-part1\/\" style=\"color: #0000ff\"><span style=\"font-size: 16px;font-family: arial, helvetica, sans-serif\">Looker Explore Assistant\u69cb\u7bc9\u30d1\u30fc\u30c81: \u6a5f\u80fd\u306e\u7406\u89e3\u3068\u74b0\u5883\u69cb\u7bc9\u7de8<\/span><\/a><\/span><\/b>\r\n<b><span style=\"font-family: arial, helvetica, sans-serif\"><strong>I. \u30a2\u30ab\u30a6\u30f3\u30c8\u3078\u306e\u8a31\u53ef\u306e\u4ed8\u4e0e<\/strong><\/span><\/b>\r\n<p><span style=\"font-family: arial, helvetica, sans-serif\">\u307e\u305a\u3001\u5fc5\u8981\u306a\u6a29\u9650\u3092\u9069\u5207\u306b\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u4e0d\u53ef\u6b20\u3067\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30b5\u30fc\u30d3\u30b9\u30a2\u30ab\u30a6\u30f3\u30c8\u304c\u9069\u5207\u306b\u30ea\u30bd\u30fc\u30b9\u3078\u30a2\u30af\u30bb\u30b9\u3057\u3001Explore Assistant\u306e\u6a5f\u80fd\u304c\u30b9\u30e0\u30fc\u30ba\u306b\u52d5\u4f5c\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u30ed\u30fc\u30eb\u3092\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u4ed8\u4e0e\u3057\u307e\u3059\u3002<\/span><\/p>\r\n<ul>\r\n\t<li><span style=\"font-family: arial, helvetica, sans-serif\"><strong>BigQuery \u63a5\u7d9a\u7ba1\u7406\u8005<\/strong><\/span><\/li>\r\n\t<li><span style=\"font-family: arial, helvetica, sans-serif\"><strong>\u30b5\u30fc\u30d3\u30b9\u30a2\u30ab\u30a6\u30f3\u30c8\u7ba1\u7406\u8005<\/strong><\/span><\/li>\r\n\t<li><span style=\"font-family: arial, helvetica, sans-serif\"><strong>\u30b5\u30fc\u30d3\u30b9\u30a2\u30ab\u30a6\u30f3\u30c8 \u30c8\u30fc\u30af\u30f3\u4f5c\u6210\u8005<\/strong><\/span><\/li>\r\n\t<li><span style=\"font-family: arial, helvetica, sans-serif\"><strong>\u30b9\u30c8\u30ec\u30fc\u30b8\u7ba1\u7406\u8005<\/strong><\/span><\/li>\r\n\t<li><span style=\"font-family: arial, helvetica, sans-serif\"><strong>\u30b5\u30fc\u30d3\u30b9\u5229\u7528\u6d88\u8cbb\u8005<\/strong><\/span><\/li>\r\n\t<li><span style=\"font-family: arial, helvetica, sans-serif\"><strong>\u30b7\u30fc\u30af\u30ec\u30c3\u30c8\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u7ba1\u7406\u8005<\/strong><\/span><\/li>\r\n<\/ul>\r\n<p><span style=\"font-family: arial, helvetica, sans-serif\">\u3053\u308c\u3089\u306e\u30ed\u30fc\u30eb\u3092\u9069\u5207\u306b\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u30c7\u30fc\u30bf\u30a2\u30af\u30bb\u30b9\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u3092\u4fdd\u3061\u306a\u304c\u3089\u3001Explore Assistant\u304c\u5186\u6ed1\u306b\u52d5\u4f5c\u3057\u307e\u3059\u3002<\/span><\/p>\r\n<b><span style=\"font-family: arial, helvetica, sans-serif\"><strong>II. \u30b9\u30c6\u30c3\u30d7\u30d0\u30a4\u30b9\u30c6\u30c3\u30d7\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7<\/strong><\/span><\/b>\r\n<p><span style=\"font-family: arial, helvetica, sans-serif\">\u3053\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3067\u306f\u3001Terraform\u3092\u4f7f\u7528\u3057\u3066\u3001Vertex AI\u306eGemini Pro\u30e2\u30c7\u30eb\u3068BigQuery\u3092\u4f7f\u7528\u3059\u308b\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u3092\u69cb\u7bc9\u3057\u307e\u3059\u3002\u3053\u306e\u624b\u9806\u306b\u5f93\u3046\u3053\u3068\u3067\u3001Looker Explore Assistant\u306e\u57fa\u76e4\u3092\u6574\u3048\u307e\u3059\u3002<\/span><\/p>\r\n<p><!-- notionvc: 2ac78dc0-e9f7-4268-bde9-031a5f56f5c7 --><\/p>\n\n<h2>\u30b9\u30c6\u30c3\u30d71: Cloud Shell\u306e\u8d77\u52d5\u3068\u30d5\u30a9\u30eb\u30c0\u79fb\u52d5<\/h2>\n<p><span style=\"font-family: arial, helvetica, sans-serif\"><strong>1.Cloud Shell\u306e\u8d77\u52d5<\/strong><\/span><\/p>\r\n<p><span style=\"font-family: arial, helvetica, sans-serif\">\u524d\u56declone\u3057\u305f\u3001looker-explore-assistant\u306e\u3042\u308bCloud Shell\u306e\u3092\u958b\u304d\u307e\u3059\u3002<\/span><\/p>\r\n<p><span style=\"font-family: arial, helvetica, sans-serif\"><strong>2.\u30ea\u30dd\u30b8\u30c8\u30ea\u3078\u306e\u79fb\u52d5<\/strong><\/span><\/p>\r\n<p><span style=\"font-family: arial, helvetica, sans-serif\">\u30bf\u30fc\u30df\u30ca\u30eb\u3067\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u5185\u306e\u9069\u5207\u306a\u30d5\u30a9\u30eb\u30c0\u3078\u79fb\u52d5\u3057\u307e\u3059\u3002<\/span><\/p>\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>cd looker-explore-assistant\/explore-assistant-backend\/terraform<\/code><\/pre>\r\n<\/div>\r\n<p><img decoding=\"async\" src=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2024\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-09-12-13.26.36.png\" alt=\"\" width=\"1990\" height=\"508\" class=\"alignnone size-full wp-image-5464\" srcset=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2024\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-09-12-13.26.36.png 1990w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2024\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-09-12-13.26.36-300x77.png 300w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2024\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-09-12-13.26.36-1024x261.png 1024w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2024\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-09-12-13.26.36-768x196.png 768w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2024\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-09-12-13.26.36-1536x392.png 1536w\" sizes=\"(max-width: 1990px) 100vw, 1990px\" \/><\/p>\r\n<p><span style=\"font-family: arial, helvetica, sans-serif\"><span data-token-index=\"0\" class=\"notion-enable-hover\">\u8a8d\u8a3c\u30c8\u30fc\u30af\u30f3\u306e\u751f\u6210<\/span> \u6b21\u306b\u3001\u8a8d\u8a3c\u30c8\u30fc\u30af\u30f3\u3092\u751f\u6210\u3057\u307e\u3059\u3002<\/span><!-- notionvc: 8ffd368f-980c-490d-97f0-7f4ea6553ba4 --><\/p>\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>openssl rand -base64 32 &gt; .vertex_cf_auth_token<\/code><\/pre>\r\n<\/div>\r\n<p><!-- notionvc: 04b5d00c-e74b-4dd5-ab69-30bcbccd88b5 --><\/p>\n\n<h2>\u30b9\u30c6\u30c3\u30d72: variables.tfvars\u306e\u8a2d\u5b9a<\/h2>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">Terraform\u304c\u4f7f\u7528\u3059\u308b\u5909\u6570\u30d5\u30a1\u30a4\u30eb\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<span data-token-index=\"1\" class=\"notion-enable-hover\">variables.tfvars<\/span>\u30d5\u30a1\u30a4\u30eb\u306b\u4ee5\u4e0b\u306e\u5185\u5bb9\u3092\u8ffd\u52a0\u3057\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8ID\u3084\u30ea\u30fc\u30b8\u30e7\u30f3\u3092\u9069\u5207\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/span><!-- notionvc: 1212e728-21cc-4783-9c94-8fa10bbd7f02 --><\/p>\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>deployment_region = \"asia-southeast1\"\r\nproject_id = \"your_project_id\"\r\nuse_bigquery_backend=1\r\nuse_cloud_function_backend=0<\/code><\/pre>\r\n<\/div>\r\n<p><span style=\"font-family: arial, helvetica, sans-serif\">\u3053\u306e\u8a2d\u5b9a\u306b\u3088\u308a\u3001BigQuery\u3092\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u3068\u3057\u3066\u4f7f\u7528\u3059\u308b\u69cb\u6210\u304c\u6574\u3044\u307e\u3059\u3002<\/span><!-- notionvc: 0924b0fc-00f0-47ad-81a9-0343e56cf50b --><\/p>\n\n<h2>\u30b9\u30c6\u30c3\u30d73: Terraform\u306e\u5b9f\u884c<\/h2>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">\u6b21\u306b\u3001Cloud Shell\u3067Terraform\u3092\u5b9f\u884c\u3057\u3001\u30a4\u30f3\u30d5\u30e9\u3092\u30c7\u30d7\u30ed\u30a4\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/span><\/p>\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism line-numbers lang-json\" data-lang=\"JSON\"><code>export TF_VAR_project_id=\"your_project_id\"\r\nexport TF_VAR_use_bigquery_backend=1\r\nexport TF_VAR_use_cloud_function_backend=0\r\n\r\nterraform init\r\nterraform plan\r\nterraform apply<\/code><\/pre>\r\n<\/div>\r\n<p><span style=\"font-family: arial, helvetica, sans-serif\"><code class=\"language-bash\"><\/code><\/span><span style=\"font-family: arial, helvetica, sans-serif\"><code>terraform apply<\/code>\u3092\u5b9f\u884c\u5f8c\u3001\u6210\u529f\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u308c\u3070\u3001\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306e\u8a2d\u5b9a\u304c\u5b8c\u4e86\u3067\u3059\u3002<\/span><\/p>\r\n<p><!-- notionvc: 9da79cb3-6963-4c6c-bd4c-84cedc3131e0 --><\/p>\n\n<h2>\u30b9\u30c6\u30c3\u30d74: \u30b5\u30fc\u30d3\u30b9\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u8a8d\u8a3c\u30ad\u30fc\u3092\u4f5c\u6210<\/h2>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">\u6b21\u306b\u3001Google Cloud IAM\u3067\u30b5\u30fc\u30d3\u30b9\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u8a8d\u8a3c\u30ad\u30fc\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/span><\/p>\r\n<p><span style=\"font-family: arial, helvetica, sans-serif\"><strong>1.GCP\u30b3\u30f3\u30bd\u30fc\u30eb\u306eIAM\u30da\u30fc\u30b8\u3078\u79fb\u52d5<\/strong><\/span><\/p>\r\n<p><span style=\"font-family: arial, helvetica, sans-serif\">\u5de6\u5074\u306e\u30ca\u30d3\u30b2\u30fc\u30b7\u30e7\u30f3\u304b\u3089\u300cIAM\u3068\u7ba1\u7406\u300d&gt;\u300c\u30b5\u30fc\u30d3\u30b9\u30a2\u30ab\u30a6\u30f3\u30c8\u300d\u3092\u9078\u629e\u3057\u3001<code>looker-explore-assistant-sa@<\/code>\u304b\u3089\u59cb\u307e\u308b\u30b5\u30fc\u30d3\u30b9\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u63a2\u3057\u307e\u3059\u3002<\/span><\/p>\r\n<p><span style=\"font-family: arial, helvetica, sans-serif\"><strong>2.\u30ad\u30fc\u306e\u4f5c\u6210<\/strong><\/span><\/p>\r\n<p><span style=\"font-family: arial, helvetica, sans-serif\">\u30b5\u30fc\u30d3\u30b9\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u300cKEYS\u300d\u30bf\u30d6\u3067\u300c\u30ad\u30fc\u306e\u8ffd\u52a0\u300d&gt;\u300c\u65b0\u3057\u3044\u30ad\u30fc\u306e\u4f5c\u6210\u300d\u3092\u9078\u629e\u3057\u3001\u30ad\u30fc\u30bf\u30a4\u30d7\u3068\u3057\u3066\u300cJSON\u300d\u3092\u9078\u3073\u3001\u30ad\u30fc\u3092\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/span><\/p>\r\n<p><img decoding=\"async\" src=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2024\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-09-12-13.30.08.png\" alt=\"\" width=\"1414\" height=\"956\" class=\"alignnone size-full wp-image-5465\" srcset=\"https:\/\/since2020.jp\/media\/wp-content\/uploads\/2024\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-09-12-13.30.08.png 1414w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2024\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-09-12-13.30.08-300x203.png 300w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2024\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-09-12-13.30.08-1024x692.png 1024w, https:\/\/since2020.jp\/media\/wp-content\/uploads\/2024\/09\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2024-09-12-13.30.08-768x519.png 768w\" sizes=\"(max-width: 1414px) 100vw, 1414px\" \/><\/p>\r\n<p><span style=\"font-family: arial, helvetica, sans-serif\">\u3053\u306e\u30ad\u30fc\u306f\u3001\u5f8c\u306e\u30b9\u30c6\u30c3\u30d7\u3067\u8a8d\u8a3c\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/span><!-- notionvc: 9eb428ed-b467-4c37-bd7b-a74903b02af2 --><\/p>\r\n<p><!-- notionvc: 8c400e3d-f2e1-4047-b07a-a7c3d969685e --><\/p>\n\n<h2>\u30b9\u30c6\u30c3\u30d75: BigQuery\u306eLLM\u30e2\u30c7\u30eb\u4f5c\u6210<\/h2>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">Explore Assistant\u304c\u5229\u7528\u3059\u308bAI\u30e2\u30c7\u30eb\u3092BigQuery\u306b\u4f5c\u6210\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u30af\u30a8\u30ea\u3092\u4f7f\u7528\u3057\u3066\u3001Gemini Pro\u30e2\u30c7\u30eb\u3092BigQuery\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<!-- notionvc: 8d437cea-68d3-4f35-a7bc-27a207f34f8c --><\/span><\/p>\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism line-numbers lang-json\" data-lang=\"JSON\"><code>CREATE OR REPLACE MODEL explore_assistant.explore_assistant_llm\r\nREMOTE WITH CONNECTION projects\/your_project_id\/locations\/us-central1\/connections\/explore_assistant_llm\r\nOPTIONS (endpoint = 'gemini-1.5-flash')<\/code><\/pre>\r\n<\/div>\r\n<p><span style=\"font-family: arial, helvetica, sans-serif\">\u3053\u308c\u3067\u3001LLM\u30e2\u30c7\u30eb\u304c\u4f5c\u6210\u3055\u308c\u3001BigQuery\u3068\u306e\u9023\u643a\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/span><!-- notionvc: f9c2129c-6744-477e-a432-5593dad65649 --><\/p>\n\n<h2>\u5165\u529b\u3068\u51fa\u529b\u306e\u4f8b\u306e\u8a2d\u5b9a<\/h2>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">\u6b21\u306b\u3001Explore Assistant\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u4f8b\u306eJSON\u30d5\u30a1\u30a4\u30eb\u3092BigQuery\u306b\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002\u3053\u306e\u624b\u9806\u3067\u306f\u3001\u4e8b\u524d\u306b\u4f5c\u6210\u3055\u308c\u305f\u30b5\u30f3\u30d7\u30eb\u30c7\u30fc\u30bf\u3092\u4f7f\u7528\u3057\u3001\u30e2\u30c7\u30eb\u3092\u5fae\u8abf\u6574\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/span><\/p>\r\n<p><span style=\"font-family: arial, helvetica, sans-serif\"><strong>\u4eee\u60f3\u74b0\u5883\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7<\/strong> Cloud Shell\u3067\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3001\u4eee\u60f3\u74b0\u5883\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/span><\/p>\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>python3 -m venv .venv\r\nsource .venv\/bin\/activate\r\npip3 install -r requirements.txt<\/code><\/pre>\r\n<\/div>\r\n<p>&nbsp;<\/p>\r\n<p><span style=\"font-family: arial, helvetica, sans-serif\"><span data-token-index=\"0\" class=\"notion-enable-hover\">JSON\u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9<\/span> \u6b21\u306b\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u3001\u30b5\u30f3\u30d7\u30eb\u30c7\u30fc\u30bf\u3092BigQuery\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<!-- notionvc: ea8326c0-1835-44f0-a32d-22ddab41bddd --><\/span><\/p>\r\n<div class=\"hcb_wrap\">\r\n<pre class=\"prism line-numbers lang-bash\" data-lang=\"Bash\"><code>python load_examples.py \\\\\r\n--project_id your_project_id \\\\\r\n--explore_id thelook_japanese_bq:order_items \\\\\r\n--table_id explore_assistant_examples \\\\\r\n--json_file examples.json<\/code><\/pre>\r\n<\/div>\r\n<p><!-- notionvc: 46a79f3b-3ac0-4390-8e84-d310a4d667f3 --><\/p>\n\n<h2>\u307e\u3068\u3081<\/h2>\n<p><span style=\"font-family: arial, helvetica, sans-serif\">\u4eca\u56de\u306e\u8a18\u4e8b\u3067\u306f\u3001Looker Explore Assistant\u306e\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u3092Terraform\u3092\u4f7f\u7528\u3057\u3066\u69cb\u7bc9\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3057\u305f\u3002BigQuery\u3068Vertex AI\u306eGemini Pro\u30e2\u30c7\u30eb\u3092\u9023\u643a\u3055\u305b\u3001Explore Assistant\u3092\u52d5\u4f5c\u3055\u305b\u308b\u305f\u3081\u306e\u57fa\u672c\u7684\u306a\u30b9\u30c6\u30c3\u30d7\u3092\u89e3\u8aac\u3057\u307e\u3057\u305f\u3002<\/span><\/p>\r\n<p><span style=\"font-family: arial, helvetica, sans-serif\">\u6b21\u56de\u306e\u8a18\u4e8b\u3067\u306f\u3001\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306b\u79fb\u308a\u3001Explore Assistant\u306e\u5177\u4f53\u7684\u306a\u4f7f\u7528\u65b9\u6cd5\u3084\u3001Looker\u3068\u306e\u7d71\u5408\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8a73\u3057\u304f\u898b\u3066\u3044\u304d\u307e\u3059\u3002<\/span><\/p>\r\n<p><!-- notionvc: 5582d041-d0e5-417d-b9f0-6322a0bbc018 --><\/p>","protected":false},"excerpt":{"rendered":"<p>Explore Assistant\u306e\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u306f\u3001Looker\u3068BigQuery\u306a\u3069\u306e\u30a4\u30f3\u30d5\u30e9\u3092\u9023\u643a\u3055\u305b\u308b\u305f\u3081\u306e\u91cd\u8981\u306a\u30b9\u30c6\u30c3\u30d7\u3067\u3059\u3002\u4eca\u56de\u306f\u3001Terraform\u3092\u4f7f\u7528\u3057\u3066BigQuery\u3092\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306b\u8a2d\u5b9a [&hellip;]<\/p>\n","protected":false},"author":87,"featured_media":5460,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"content-type":"","swell_btn_cv_data":"","footnotes":"","_wp_rev_ctl_limit":""},"categories":[1246],"tags":[258,710,618,564,58],"class_list":["post-5463","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-data-infrastructure","tag-bi","tag-explore-assistant","tag-gemini","tag-llm","tag-looker"],"_links":{"self":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts\/5463","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/users\/87"}],"replies":[{"embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/comments?post=5463"}],"version-history":[{"count":0,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/posts\/5463\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/media\/5460"}],"wp:attachment":[{"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/media?parent=5463"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/categories?post=5463"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/since2020.jp\/media\/wp-json\/wp\/v2\/tags?post=5463"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}