# Recipe
# Zero to Hero with Gen AI iniciative
### Setup
<hr style="border:2px solid gold">
1. limpiar cache (si no quieres perder todo tu historial igual usar modo incognito )
1.1 si mejor usar chrome, si usar en ingles todo.
3. abrir el console en incognito mode:
click derecho sobre este [link](https://console.cloud.google.com/vertex-ai/studio/saved-prompts?project=qwiklabs-gcp-00-fa0403aa0bf0) y darle en abrir en incognito mode en caso de ser necesario editar el link y agregar solo el username del laboratorio.

==**si**== pide login account debe ser la del manual :

==<ins>**no** la personal **no** la de los creditos **no** nada</ins>== la que aparece en el lab ver la imagen de ejemplo:

de esta imagen puede verse el *<ins>Username</ins>* que se utiliza **NO ES LA MISMA QUE LA DE LA IMAGEN EN CADA LAB PUEDE VARIAR**
lo mismo el password.
luego aceptar:

tick en el checkbox primero:

luego click en agree and continue:

buscar el prompt manager en la barra de busqueda superior:

## TASK 1
<hr style="border:2px solid gold">
create new Freeform.






Experiment with different prompts to generate the following:
Short, descriptive text inspired by the image.
Catchy phrases suitable for advertisements.
A poetic description for a nature-focused campaign.

## TASK 2
<hr style="border:2px solid gold">
**Freeform** prompt with the ```gemini-2.0-flash-001```
**System instructions**
``
Cymbal Direct is partnering with an outdoor gear retailer. They're launching a new line of products designed to encourage young people to explore the outdoors. Help them create catchy taglines for this product line.
``
Include 2 Examples 
| Input | Output |
|---|---|
| Write a tagline for a durable backpack designed for hikers that makes them feel prepared. Consider styles like minimalist. | Built for the Journey: Your Adventure Essentials. |
| Write a tagline for an eco-friendly rain jacket designed for families that makes them feel connected. Consider styles like playful, with a touch of humor. | Explore More, Worry Less. Weather the fun together! |
"Develop a tagline for a sustainable rain jacket for families, aiming for a lighthearted and connection-focused message."| Puddle Jumpers United: Eco-Friendly Fun, Together!
**Note: no need to be an expert, just ask for help in gemini**

in the test box use this:
Generate a tagline for a seasoned explorer's lightweight tent, using poetic style to evoke a feeling of liberation.



pueden pasar cosas:



## TASK 3
<hr style="border:2px solid gold">
open workbench then _JUPYTER LAB_
siempre usar python kernel

el jupyter notebook se creara a partir de los prompts que se crearon en ==TASK1== y ==TASK2==
regresamos al prompt manager y seleccionamos el de Cymbal Product Analisys
luego :


copiar y pegar el codigo en el jupyterlab del workbench:

eliminar esta linea del primer bloque:
```gcloud auth application-default login```
recuerden revisar este :



el kernel debe estar en idle

enseguida modificar el segundo bloque buscar esto
""" algo """ y colocarle un nuevo wording

ya despues se ejecuta y solo se tiene un output:

renomb rar a este ```image-analysis.ipynb``` para que cuente en el task
y hagan check en avances:

## TASK 4
<hr style="border:2px solid gold">



yo termine en este tiempo:

## EOF
<hr style="border:2px solid red">