AI Learn
Google · Gemini Tutorial

Gemini: Upload and analyze files in Gemini

Use documents, spreadsheets, photos, video or code as task context, then ask bounded questions and verify the source material.

Reviewed September 19, 2026Independent tutorialFeatures may vary
Not official support. AI Learn is an independent education site and is not affiliated with Google. Check the provider’s current documentation for plan-specific limits, pricing and feature availability.
Before you start

Gemini supports a broad set of file types, while exact limits depend on account, plan and resource availability.

1. Add the file from the appropriate source

Use Add files to upload from your device, Drive, a code folder or another supported source available on your account.

2. State what the file is and why it matters

Give the document type, timeframe, owner/version and the specific question you need answered.

3. Ask for structure before interpretation

For complex files, first ask for sections, tables, key entities, missing fields or code layout before asking for conclusions.

4. Separate extraction from analysis

First ask “what does the source say?” Then ask “what does it imply?” so quoted evidence and model interpretation do not blur together.

5. Verify the source location

For important facts, request page/section/table/file-path references and inspect the original material yourself.

Try this prompt

Use the uploaded material as the evidence base. First map its structure. Then answer my question with two columns: “directly stated in source” and “your analysis.” Include source locations and list anything you could not verify.

Common mistakes

Uploading a large folder without a question; treating file names as proof of version; asking Gemini to infer missing values silently; mixing web facts with file facts without labeling them.

Finish check

A useful file workflow lets another person reproduce the answer by opening the same source and checking the cited location.

开始之前

Gemini 支持多种文件类型,但具体数量、大小与时长限制取决于账号、套餐和资源可用性。

1. 从合适来源添加文件

使用“添加文件”,从设备、Drive、代码文件夹或账号支持的其他来源加入资料。

2. 说明文件是什么、为什么重要

写清文档类型、时间范围、负责人/版本,以及你真正需要回答的问题。

3. 复杂文件先看结构,再解释

面对复杂资料,先让 Gemini 列章节、表格、关键实体、缺失字段或代码结构,再要结论。

4. 把“提取事实”和“分析含义”分开

先问“来源里写了什么”,再问“这意味着什么”,避免原文证据和模型解释混在一起。

5. 关键事实必须回到原始位置核对

重要结论要求标页码、章节、表格或代码路径,并自己打开原资料检查。

可以直接套用的提示词

请把上传资料作为证据基础。先梳理结构,再回答我的问题,并分成两列:“来源直接写明”和“你的分析”。标出来源位置,并列出所有无法核实的内容。

常见错误

上传很大的文件夹却没有问题;只凭文件名判断版本;让 Gemini 悄悄补全缺失值;把网络事实与文件事实混在一起却不标来源。

完成检查

一个合格的文件工作流,应该让别人拿到同一份来源后,可以根据你给的位置复核出相同事实。

開始之前

Gemini 支援多種檔案類型,但具體數量、大小與時長限制取決於帳號、方案和資來源可用性。

1. 從合適來源新增檔案

使用“新增檔案”,從設備、Drive、程式碼資料夾或帳號支援的其他來源加入資料。

2. 說明檔案是什麼、為什麼重要

寫清檔案類型、時間範圍、負責人/版本,以及你真正需要回答的問題。

3. 複雜檔案先看結構,再解釋

面對複雜資料,先讓 Gemini 列章節、試算表、關鍵實體、缺失字段或程式碼結構,再要結論。

4. 把“提取事實”和“分析含義”分開

先問“來源里寫了什麼”,再問“這意味著什麼”,避免原文證據和模型解釋混在一起。

5. 關鍵事實必須回到原始位置核對

重要結論要求標頁碼、章節、試算表或程式碼路徑,並自己開啟原資料檢查。

可以直接套用的提示詞

請把上傳資料作為證據基礎。先梳理結構,再回答我的問題,並分成兩列:“來源直接寫明”和“你的分析”。標出來源位置,並列出所有無法核實的內容。

常見錯誤

上傳很大的資料夾卻沒有問題;只憑檔案名判斷版本;讓 Gemini 悄悄補全缺失值;把網路事實與檔案事實混在一起卻不標來源。

完成檢查

一個合格的檔案工作流程,應該讓別人拿到同一份來源後,可以根據你給的位置復核出相同事實。

Official references

Check current product details at the source

Related practical tutorials

Continue with another single-task workflow.

All tutorials →