3
Working with Prompts
If the Gemini model is the engine, then prompts and configurations are the steering wheel and transmission. Up to this point, we have treated the API as a magical black box: text goes in, and an answer comes out. However, to build professional-grade applications, we must move beyond simple queries and understand the mechanics of how the model interprets, retrieves, and generates information.
We will begin by refining your input strategy, exploring how Markdown and HTML structures influence model comprehension, and how multimodal prompts can bridge the gap between text and visual data. But a good prompt is only half the battle. We will dive deep into the configuration parameters that define the model's "personality."
Finally, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access