AI Learn
OpenAI · ChatGPT Tutorial

ChatGPT: Analyze files in ChatGPT

Upload a document or spreadsheet, define the evidence boundary, and turn it into a verifiable result.

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

Use this workflow when the answer should come from a file rather than from general model knowledge. File availability and limits can vary by plan and workspace.

1. Attach only the source you actually need

Open a chat, attach the relevant PDF, DOCX, CSV, XLSX or other supported file, and avoid mixing unrelated files before the task is clear.

2. Define the job before asking for a summary

Say whether you want extraction, comparison, transformation, calculation or a decision-support brief. Name the audience and output format.

3. Set an evidence rule

Tell ChatGPT to rely on the uploaded file, cite page/section/row references when possible, and explicitly say when the file does not contain an answer.

4. Ask for a first-pass inventory

For long files, first request the structure, key fields, missing information and obvious inconsistencies. Then ask the narrower question.

5. Verify the important claims

Open the original file and spot-check the cited passages, rows and calculations before using the result in a high-stakes decision.

Try this prompt

Use only the attached file as the source of truth. First list the sections relevant to my question. Then answer in a table with: claim, evidence location, confidence, and what is missing. If the file does not support a claim, say “not found in the file.”

Common mistakes

Asking “summarize this” without a purpose; uploading many versions without naming the source of truth; accepting a polished answer without checking the underlying pages or rows.

Finish check

You should be able to point from every important output claim back to a specific part of the uploaded source.

开始之前

当答案应该来自某个文件,而不是来自模型的一般知识时,用这套流程。文件功能与额度可能因套餐和工作区不同。

1. 只上传真正需要的来源

打开一个对话,上传相关 PDF、DOCX、CSV、XLSX 或其他支持的文件。任务还没说清楚前,不要一次混进很多无关文件。

2. 先定义任务,再让它总结

说明你要做的是提取、比较、改写、计算,还是形成决策简报;同时给出受众和输出格式。

3. 设置证据规则

明确要求 ChatGPT 以上传文件为依据;可以时标注页码、章节或表格行;文件里没有答案就直接说没有,不要猜。

4. 长文件先做一次盘点

面对长文档时,先让它列出结构、关键字段、缺失信息和明显矛盾,再继续问更具体的问题。

5. 对关键结论做人工核验

重要结论要回到原文件抽查对应段落、表格行和计算过程,再用于资金、合规或业务决策。

可以直接套用的提示词

只把我上传的文件当作主要依据。先列出与问题有关的章节,再用表格回答:结论、证据位置、可信程度、缺失信息。文件不能支持的结论,请明确写“文件中未找到”。

常见错误

只说“总结一下”却不给用途;上传多个版本却不说明哪份是主要依据;看到文字很流畅就直接相信,没有回到页码或表格行核对。

完成检查

完成后,你应该能把每一条重要结论对应回上传文件中的具体位置。

開始之前

當答案應該來自某個檔案,而不是來自模型的一般知識時,用這套流程。檔案功能與額度可能因方案和工作區不同。

1. 只上傳真正需要的來源

開啟一個對話,上傳相關 PDF、DOCX、CSV、XLSX 或其他支援的檔案。任務還沒說清楚前,不要一次混進很多無關檔案。

2. 先定義任務,再讓它總結

說明你要做的是提取、比較、改寫、計算,還是形成決策簡報;同時給出受眾和輸出格式。

3. 設定證據規則

明確要求 ChatGPT 以上傳檔案為依據;可以時標註頁碼、章節或試算表行;檔案裡沒有答案就直接說沒有,不要猜。

4. 長檔案先做一次盤點

面對長檔案時,先讓它列出結構、關鍵字段、缺失資訊和明顯矛盾,再繼續問更具體的問題。

5. 對關鍵結論做人工核對

重要結論要回到原檔案抽查對應段落、試算表行和計算過程,再用於資金、合規或業務決策。

可以直接套用的提示詞

只把我上傳的檔案當作主要依據。先列出與問題有關的章節,再用表格回答:結論、證據位置、可信程度、缺失資訊。檔案不能支援的結論,請明確寫“檔案中未找到”。

常見錯誤

只說“總結一下”卻不給用途;上傳多個版本卻不說明哪份是主要依據;看到文字很流暢就直接相信,沒有回到頁碼或試算表行核對。

完成檢查

完成後,你應該能把每一條重要結論對應回上傳檔案中的具體位置。

Official references

Check current product details at the source

Related practical tutorials

Continue with another single-task workflow.

All tutorials →