Lesson 11
101. The element order can also change
102. Let's amend Sasha’s original prompt “How can I create a network that uses IPv4 and IPv6 addresses?” and add a role context to the input fed into Gemini.
103. She also adds the detail of needing a dual stack subnet.
104. The new prompt is “I want you to act as a cloud architect in Google
105. Cloud. How can I use gcloud to create a network that uses IPv4 and IPv6 subnets?”
106. But since Gemini maintains its own interaction context, she could have just asked “I want you to act as a cloud architect
107. in Google Cloud. How can I adjust the gcloud command provided to create a subnet to ensure the subnet is dual stack?”
108. Now that you’ve had a chance to explore what Gen AI is, what large language models are
109. and how they’re trained, and what prompt engineering is, it’s time to explore some prompt engineering best practices.
110. The first best practice is to write detailed and explicit instructions.
To be continued…lesson 12

image