Skip to content

Commit

Permalink
add leanring objective and setup
Browse files Browse the repository at this point in the history
  • Loading branch information
BenoitDherin committed Feb 6, 2024
1 parent 572151f commit f8e1c4c
Showing 1 changed file with 39 additions and 1 deletion.
40 changes: 39 additions & 1 deletion notebooks/vertex_genai/solutions/intro_gemini_python.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,51 @@
"For more information, see the [Generative AI on Vertex AI](https://cloud.google.com/vertex-ai/docs/generative-ai/learn/overview) documentation.\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Setup"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"For this lab, you'll first need to build a special kernel containing all the dependencies we will need:"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"!cd ~/asl-ml-immersion && make gemini_kernel"
]
},
{
"attachments": {
"be2ef648-ac11-47ee-a130-b68861aa3a16.png": {
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAN0AAACGCAYAAABZjY8uAAABUmlDQ1BJQ0MgUHJvZmlsZQAAGJV1kE1LAlEUhh/LMjKooJDAhYsKA4tQ+wHmooIWgxV97Mbxk9SGcSL6By1y26p163ZGK4P+QVEgtKpFiyAhcFMyndFKLbpweB/e+95zDwd6UHU95wTyBdOILS36trZ3fK5nuejHzQQDqlbUI4qyKhG+tfvU73DYejNr96rU/DWP27v7dFV6qB4/Zv/mu85gIlnURD+k/JpumOCYFFYOTN1mKcYMGUr4yOZ0i09tjrf4vJlZj0WFr4VHtIyaEL4VDsQ7/HQH53P72tcM9vRDycLGmq1SXpZR8BEiSOqfXLiZi7KHziEGWdJkMOVVRBydHEnhFQpozBEQDjIvFbb3+3tvbS8zDgsv0Bvo8OSvyynw1NredAmGX+FiVFcN9WebjrqzmAoFW+wuQ9+JZb1tgmsGGveW9V62rMaZ9K9Cpf4JWoBilI1YiCwAAABWZVhJZk1NACoAAAAIAAGHaQAEAAAAAQAAABoAAAAAAAOShgAHAAAAEgAAAESg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P1w6IsIFE9AoiuesXIQgX4EJLp+OPRFBIonINEVz1g5iEA/AoP7fdMXERCBpgQ+++wz+/zzz8PxySef3Kaaaqqmvq0OSHSt6OiYCIwgcM8999jdd99tH3/8cT8e0047ra288sq20kor9Qtv90Wia0dIx/+zBP766y875ZRT7JlnnrG1117bdt11V5t++ukDjw8//NAee+wxu+iii+yFF16wPffc00YbbbQoVpUd0x1xxBH26quv1k6CfcJGVXvttdfstttua1v8r7/+2i6//HL7/fffW/rG+rVMpMeD9913nz333HNNUxk2bJidffbZ4fjjjz8eWoymzokPZMt23XXX2SuvvNJxDgju008/tRNOOME22WQTm2GGGayvry982CeMY/jgG2uVFR0ncPjhhwehXX/99WE/9qSq6MfV8pxzzmlbtOHDh9uhhx5qv/zyS0tfxhcxfi0T6fHgVVddZQ8++GDTVE499VSbbLLJwnGexrjiiiua+qY+kC0bAjnssMM6yoIuJb/Z7rvvHsTWLDJp44MvcWKssqKbc845Q/m5Qt1www1h38NiTqxqPptvvrmNeAFn22Jxjm+//bZNOOGEbX2r7PDmm2/aww8/bOuuu+5IL+biiy9uo48+ut1///3RZWEMR5cSUbUzfPAlToxVSnTehaQb6ULLngRhHKvvemZ9utn/7bff7OCDD7ZFF13Uhg4dascdd5xtsMEGtaRuvvlmW3HFFW3mmWe2jTbaqNZVQRzAPvPMM2txAX/uueeG72uuuWatJbj11lttl112CWmS3r777mv77LOPzTvvvCHP22+/PRx75513bNVVV7Uffvihln+7HcYe++23n22zzTYhHl3TE088MZSB9LkS0x3FbrzxxpAv5V5qqaWMbhj75513Xs2fLpM/kstsHeUmHficdtpp9ueff7YrktHKkW7MOIdW/ZJLLjF4kc9uu+1WmyUkI7rlpMWxvfbayxhPYa+//rptueWWIZzfZocddrAvv/wyHKv/s9Zaa9kxxxxTH5z7nV4EkybwiTV8iUPcdlYp0Xlhs/3vueee2/i4ZY95WK/bo446yh555BE7/vjjQwW98sorww9KuoQzSN50003tpptusmmmmcY23nhj+/777w2xvvjii/bUU0/Z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09OfiJQRQKjhOgQG2/SkYnAQCAwSohuIIDWOYiAEyh8YSLPSFsREIH/ESh0YSJBFgERaCSg7mUjE4WIQKEEJLpC8SpxEWgkINE1MlGICBRKQKIrFK8SF4FGAhJdIxOFiEChBCS6QvEqcRFoJCDRNTJRiAgUSkA3xwvFq8RFoJFA34j/xtabWBu5KEQEGggMHzbcZhkyS0N4bIC/xUrdy1hi8hOBRAQkukQglYwIxBKQ6GJJyU8EEhGQ6BKBVDIiEEtAooslJT8RSERAoksEUsmIQCwBiS6WlPxEIBEBiS4RSCUjArEEJLpYUvITgUQEJLpEIJWMCMQSkOhiSclPBBIRkOgSgVQyIhBLQKKLJSU/EUhEQKJLBFLJiEAsAYkulpT8RCARAYkuEUglIwKxBCS6WFLyE4FEBCS6RCCVjAjEEpDoYknJTwQSEZDoEoFUMiIQS0CiiyUlPxFIRECiSwRSyYhALAGJLpaU/EQgEQGJLhFIJSMCsQQkulhS8hOBRAQkukQglYwIxBKQ6GJJyU8EEhGQ6BKBVDIiEEtAooslJT8RSERAoksEUsmIQCwBiS6WlPxEIBEBiS4RSCUjArEEJLpYUvITgUQEJLpEIJWMCMQSkOhiSclPBBIRkOgSgVQyIhBLQKKLJSU/EUhEQKJLBFLJiEAsAYkulpT8RCARAYkuEUglIwKxBCS6WFLyE4FEBCS6RCCVjAjEEpDoYknJTwQSEZDoEoFUMiIQS0CiiyUlPxFIRECiSwRSyYhALAGJLpaU/EQgEQGJLhFIJSMCsQT+BcXDabUv+BIKAAAAAElFTkSuQmCC"
}
},
"cell_type": "markdown",
"metadata": {},
"source": [
"Then you'll need to select the kernel in the notebook. Click on the current kernel on the top right corner of the notebook:\n",
"\n",
"\n",
"![image.png](attachment:be2ef648-ac11-47ee-a130-b68861aa3a16.png)"
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "jXHfaVS66_01"
},
"source": [
"### Import libraries\n"
"### Import libraries"
]
},
{
Expand Down

0 comments on commit f8e1c4c

Please sign in to comment.