In this categoryChatGPT · 25
- How to Build Your First Custom GPTStart
- How to Upload Knowledge Files to a Custom GPT
- How to Connect a Custom GPT to an API with Actions
- How to Create a Custom GPT for a Repeated Task
- How to Publish and Share a Custom GPT
- How to Fix a Custom GPT That Ignores Its Instructions
- How to Build a Custom GPT with Clear Instructions
- How to Write a Professional Email With ChatGPT
- How to Debug a Code Error With ChatGPT
- How to Build an Excel or Google Sheets Formula With ChatGPT
- How to Write a Python Automation Script With ChatGPT
- How to Turn Meeting Notes Into Action Items With ChatGPT
- How to Translate and Localize Text With ChatGPT
- How to Prepare for a Job Interview With ChatGPT
How to Upload Knowledge Files to a Custom GPT
Attach PDFs, docs, and spreadsheets to a custom GPT so it answers from your own material instead of general knowledge.
Knowledge files let a custom GPT answer from documents you control: a product manual, a policy handbook, a price list. Instead of relying on the model's general training, the GPT searches your uploaded files and grounds its answers in them. This guide covers adding files, writing instructions that force the GPT to use them, and verifying it actually does.
What you need
- A custom GPT you can edit (or create a new one first)
- Your source documents as PDF, DOCX, TXT, CSV, or similar
- Files under the per-file size limit (keep each well under 512 MB and prefer text-heavy docs)
Step 1: Open the GPT in Configure mode
Go to GPTs, open your GPT, click Edit GPT, then the Configure tab. Scroll to the Knowledge section, which sits below Instructions and above Capabilities.
Step 2: Upload your files
Click Upload files in the Knowledge section and select your documents. Clean text PDFs and DOCX files work best. Scanned images of text often fail because there is no selectable text to read, so run those through OCR first or convert them to a text format.
Step 3: Force the GPT to cite the files
By default the model may blend its own knowledge with your files. Add explicit instructions so it prefers and references the documents, and admits when something is not covered.
When answering, search the uploaded knowledge files first.
- Base answers on the documents. Quote the relevant policy or spec where useful.
- If the files do not cover the question, say "That isn't in my documents"
rather than guessing from general knowledge.
- When a price or rule is involved, state which file it came from.Step 4: Test with a question only your files can answer
Save the GPT, then ask something specific that lives only in your documents, like a part number or a clause in your return policy. A grounded answer that matches the file means retrieval is working.
Result
Your GPT now answers from your own documents and tells you when a question falls outside them, which makes it dependable for support, onboarding, or internal lookups.
Watch related tutorials
17:53
1:05:30
20:00
30:00
18:40
21:10New guides in your inbox
Fresh step-by-step how-to guides as we publish them. One email a week, no more.