Prompt Buddy logoPrompt Buddy

google · Google AI Docs

Gemini API Long context

Explains how to leverage the large context window capabilities of Gemini models to process extensive datasets, long documents, or complex multi-turn conversations.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Gemini API Long context

Explains how to leverage the large context window capabilities of Gemini models to process extensive datasets, long documents, or complex multi-turn conversations.

When To Use

Use when you need to process massive amounts of information such as entire codebases, long video files, or extensive document sets within a single prompt.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/gemini-api-long-context-workflow-guide.mdAn overview of Gemini API long context capabilities, including context window sizes and use cases for processing large amounts of text.Questions about an overview of Gemini API long context capabilities, including context window sizes and use cases for processing larg...

What This Skill Covers

  • Many Gemini models come with large context windows of 1 million or more tokens. Historically, large language models (LLMs) were significantly limited by the...
  • Main sections: What is a context window?, Getting started with long context, Long context use cases, Long form text, Long form video.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://ai.google.dev/gemini-api/docs/long-context