Mot pour mot · sourcé

Bibliothèque418 prompts

Prompts Google Gemini : 13 exemples du guide de prompts de Google

Ces prompts sont copiés du guide de conception de prompts Gemini de Google et de ses notes de bonnes pratiques pour Gemini 3, avec la source indiquée sur chacun. Ils couvrent les schémas que Google recommande lui-même : exemples few-shot, prompts structurés en Markdown ou en XML, clause d'ancrage pour Gemini 3 Flash et complétion de saisie partielle pour le JSON.

Gemini est sensible à la structure. Les exemples de Google séparent consignes, contexte et saisie par des titres ou des balises, et les notes Gemini 3 recommandent de dire explicitement quand le modèle doit s'appuyer uniquement sur le contexte fourni. Utilisez les modèles structurés quand la tâche comporte plusieurs parties.

13 prompts · Effacer les filtres

Productivité Bibliothèque d'éditeur

Add context: router troubleshooting

Answer the question using the text below. Respond with only the text provided.
Question: What should I do to fix my disconnected wifi? The light on my Google Wifi router is yellow and blinking slowly.
Text:
Color: Slowly pulsing yellow
Wha…
199 mots · pour Google Gemini
Entreprise Bibliothèque d'éditeur

Agentic workflows: system instruction template

You are a very strong reasoner and planner. Use these critical instructions to structure your plans, thoughts, and responses.
Before taking any action (either tool calls *or* responses to the user), you must proactively, methodically, and …
533 mots · pour Google Gemini
Rédaction Bibliothèque d'éditeur

Constraints: one-sentence summary

Summarize this text in one sentence:
Text: A quantum computer exploits quantum mechanical phenomena to perform calculations exponentially faster than any modern traditional computer. At very tiny scales, physical matter acts as both partic…
113 mots · pour Google Gemini
Éducation Bibliothèque d'éditeur

Few-shot: prefer concise explanation

Below are some examples showing a question, explanation, and answer format:
Question: Why is the sky blue?
Explanation1: The sky appears blue because of Rayleigh scattering, which causes shorter blue wavelengths of light to be scattered mo…
161 mots · pour Google Gemini
Recherche Bibliothèque d'éditeur

Gemini 3 Flash: grounding clause

You are a strictly grounded assistant limited to the information provided in the User Context. In your answers, rely **only** on the facts that are directly mentioned in that context. You must **not** access or utilize your own knowledge o…
130 mots · pour Google Gemini
Programmation Bibliothèque d'éditeur

Gemini 3: Markdown structured prompt

# Identity
You are a senior solution architect.
# Constraints
- No external libraries allowed.
- Python 3.11+ syntax only.
# Output format
Return a single code block.
24 mots · pour Google Gemini
Productivité Bibliothèque d'éditeur

Gemini 3: template combining best practices

You are Gemini 3, a specialized assistant for [Insert Domain, e.g., Data Science].
You are precise, analytical, and persistent.


1. **Plan**: Analyze the task and create a step-by-step plan.
2. **Execute**: Carry out the plan.
3. **Valida…
99 mots · pour Google Gemini
Productivité Bibliothèque d'éditeur

Gemini 3: XML structured prompt

You are a helpful assistant.


1. Be objective.
2. Cite sources.


[Insert User Input Here - The model knows this is data, not instructions]


[Insert the specific user request here]
28 mots · pour Google Gemini
Programmation Bibliothèque d'éditeur

Partial input completion: order JSON

Valid fields are cheeseburger, hamburger, fries, and drink.
Order: Give me a cheeseburger and fries
Output:
```
{
  "cheeseburger": 1,
  "fries": 1
}
```
Order: I want two burgers, a drink, and fries.
Output:
28 mots · pour Google Gemini
Entreprise Bibliothèque d'éditeur

Question input: flower shop names

What's a good name for a flower shop that specializes in selling bouquets of dried flowers? Create a list of 5 options with just the names.
25 mots · pour Google Gemini
Éducation Bibliothèque d'éditeur

Reformat as multiple choice

Multiple choice problem: Which of the following options describes the book The Odyssey?
Options:
thriller
sci-fi
mythology
biography
18 mots · pour Google Gemini
Productivité Bibliothèque d'éditeur

Task input: camping checklist

Give me a simple list of just the things that I must bring on a camping trip. The list should have 5 items.
22 mots · pour Google Gemini
Productivité Éditorial

Grounded summary of your own documents

I uploaded three customer-feedback PDFs. Summarize the five most common complaints, cite which document each comes from, and suggest one fix per complaint.
23 mots · pour Google Gemini

Comment utiliser ces prompts

  • Utilisez le modèle structuré XML ou Markdown pour les prompts avec consignes, contexte et saisie
  • Ajoutez la clause d'ancrage lorsque les réponses doivent venir uniquement de vos documents
  • Utilisez la complétion de saisie partielle quand il vous faut un JSON strict
  • Gardez des exemples few-shot cohérents en format et en longueur

FAQ

Ce sont les prompts de Google ?

Oui. Tous sont copiés du guide de conception de prompts de Google et des notes Gemini 3, avec des liens vers la source. Nous avons retiré les doublons présents dans deux versions du guide.

Fonctionnent-ils dans l'application Gemini ou seulement dans AI Studio ?

Les prompts textuels fonctionnent dans les deux. Le modèle d'instruction système demande AI Studio ou l'API.

Qu'est-ce qui change avec Gemini 3 ?

Google recommande une structure explicite et une clause d'ancrage ; les deux modèles « Gemini 3 » montrent la mise en page recommandée.