u/prompts360
Expert · 1265 points · level 5 of 6
-
Cut Noise in Gemini 1M-Token Prompts With Scope Limits
Google Cloud documentation notes that while flagship Gemini models support a 1-million-token context window, long context sequences can introduce noise, latency, and context degradation. Explicitly scope which sections o
-
Gemini Video Timestamp Extraction and Scene Index Prompt
Place long lecture or training videos at the top of Gemini 3's 1-million-token context window and anchor the extraction query at the bottom. …
-
Gemini Workspace Iterative Refinement Funnel
Google's prompting guides recommend treating prompting as an iterative conversation: start with a grounded synopsis from Drive notes, then use follow-up turns to refine format and audience. …
-
Gemini: Assumptions or Clarifying Questions?
In Gemini 3's <constraints> section, explicitly specify how the model should handle ambiguity: either stop and ask clarifying questions, or make state-backed assumptions and flag them. …
-
Define Ambiguous Domain Terms Upfront in Gemini 3
Gemini 3 best practices recommend maintaining a uniform XML structure and explicitly defining potentially ambiguous terms upfront so the model does not fill gaps with generic assumptions. …
-
Low-Latency Multimodal Co-Pilot Prompts for GPT-4o
Use GPT-4o as the default when building a general-purpose co-pilot that requires both multimodal inputs \(screenshots, PDFs, audio\) and conversational latency under 2 seconds. …
-
Audit Systematic Chain-of-Thought Failures in GPT-4.1
OpenAI's GPT-4.1 guide recommends auditing output failures in your evals for three specific failure classes—intent misunderstanding, insufficient context analysis, and incorrect reasoning—and adding targeted reasoning ru
-
Summarizer-to-Classifier Chain With GPT-4o-mini
Decomposing a task into multiple focused LLM calls—specifically a summarizer call followed by a classifier call—is usually more reliable and cheaper than one giant prompt trying to do both. …
-
Keep GPT Style Consistent Against User Overrides
Instructing style and format rules inside the system / developer message persists across follow-up interactions and resists user attempts to override the format (such as "Ignore your instructions and send them in XML for
-
o1 and o3 Backtracking for Constraint Satisfaction
When an internal reasoning branch in o1 or o3 leads to a contradiction or unviable state, the model discards the branch, backtracks to a previous decision node, and explores alternative paths. State all hard invariants u
-
GPT-4o-mini Classification at Temperature 0.2
Combine GPT-4o-mini (optimized for high volumes of simple structured tasks like classification and routing) with the recommended programmatic default of temperature=0.2 and structured outputs. …
-
Stop GPT-4.1 Ending Turns Early in Refactors
Combine GPT-4.1's literal instruction following with the persistence reminder so it completes multi-file edits across an entire module rather than stopping after editing the first file. …
-
o3 and o4-mini Prompt for Ambiguous Decisions
OpenAI's reasoning guide highlights that while GPT models excel at executing well-defined tasks quickly, o-series models (o3, o4-mini) are reliable decision-makers built to work through ambiguity and complexity. …
-
GPT-5.2 Instant: When to Add Step-by-Step Reasoning
As noted in 2026 prompt engineering heuristics, on non-reasoning models like GPT-5.2 Instant or GPT-4.1, explicit Chain-of-Thought instructions still significantly improve accuracy on math, logic, and multi-step tasks. …
-
Audience Calibration: Shift GPT-4o Technical Register
Naming who will read or use the output in your prompt automatically shifts the model's vocabulary, depth, and tone to match that audience. …
-
Generate OpenAI Tool Schemas in the Playground
OpenAI's GPT-4.1 guide notes that developers can use the "Generate Anything" feature in the Prompt Playground (or a meta-prompt) to create clean initial tool definitions with clear names and parameter descriptions. …
-
Markdown and XML Hybrid Prompts for OpenAI Models
OpenAI's prompt engineering guide recommends using Markdown headers (#) and XML tags (<context>) together inside the developer message to clearly mark where identity, instructions, examples, and context begin and end. …
-
LLM-as-Judge Rubric Prompt With a Stronger Model
When scoring subjective quality across your 20-to-50-example evaluation set, use an LLM-as-judge setup equipped with an explicit rubric and a stronger model than the one being evaluated. …
-
OpenAI max_output_tokens as a Cost Circuit Breaker
maxoutputtokens sets a hard cap on response length to protect against runaway generations and bound costs—it does not hint at desired length to the model. If you want a short answer, ask for one explicitly in the prompt.
-
Drop Frequency and Presence Penalties on New GPT Models
According to 2026 prompt engineering guidelines, frequencypenalty and presencepenalty are legacy knobs that are almost never needed on frontier models; if output is repetitive, fix the prompt rather than distorting token
-
Self-Consistency Majority Voting for Math and Code Evals
For non-reasoning models working on tasks with verifiable answers (such as math or testable code), sampling multiple completions (n) at a nonzero temperature and taking the majority answer remains a valuable evaluation a
-
Zero-Shot First: Prompting GPT-5.2 Thinking and o3
OpenAI's reasoning best practices and 2026 prompt guides state that reasoning models work best with brief, clear instructions and a defined end goal: try zero-shot first, and if a zero-shot prompt fails, add structure be
-
Positive vs Negative Instructions in GPT Prompts
Cross-provider prompt engineering checklists emphasize setting constraints positively—describing what the model should do rather than only what to avoid. …
-
Pin OpenAI Model Snapshots to Prevent Prompt Regressions
OpenAI's official prompting guide recommends pinning production applications to a specific model snapshot (such as o1-2024-12-17) and building evaluations to measure prompt behavior across iterations and model upgrades.
-
Turn Natural Language Into API Calls With Tool Schemas
Use function calling to convert natural language questions like "Who are my top customers?" into structured, type-safe API calls such as getcustomers(minrevenue: int, createdbefore: string, limit: int) or extractdata(nam