Adding Your Own Knowledge

How to hand a chatbot your own documents, check its answer against the source it names, and what memory keeps between chats.

By Mike Bowers, Fractional CTO

Last updated

Agent Foundations · Article 5

At a diner you've been going to for years, the server might start pouring your coffee before you sit down. At a new place, you have to ask. The difference is that one place knows you, the other doesn't.

Out of the box, a chatbot is always the new place. It knows a lot about the world and nothing about your business: not your service area, not your hours, not what you told it last week. This article covers the everyday ways to hand it your own material, how to check an answer against it, and what memory does and doesn't keep.

Trained Knowledge and Your Knowledge

As the second article in this series described, a model learns during training, and then it's finished. When you tell a chatbot your shop closes at 5 on Fridays, the model doesn't learn that forever. It can only use it while that sentence is in the chat window.

Each time it answers, the model reads what the chat app puts in front of it: its instructions, the conversation so far, and any documents or notes the app adds. Imagine it as the top of a desk. Whatever is on the desk, the model can use. So adding your own knowledge really means deciding what goes on the desk, and when.

Three Ways to Hand It Your Documents

Attach a file to one chat. Upload your service area sheet and ask your question. The file is on the desk for that conversation only, so a brand new chat session starts without it.

Add files to a project. Claude and ChatGPT both call this a Project: a workspace with standing instructions and a set of files that every chat inside it can use. Use it for the few documents people ask about regularly. If you share a project with your team, everyone in it can see its files.

Connect a folder. Many chat apps can connect to Google Drive or OneDrive, so it looks up the current version of a file instead of a copy you uploaded months ago. That uses a connector, like the ones in the last two articles, so the read-only habit applies: connect only the folder the job needs. If your documents live inside other software, such as a property management system, a connector for that software works the same way. If no connector for that software exists, a developer can usually build one. That is work we can do.

Three ways to hand it your documents, smallest first: attach a file to one chat, add files to a project that every chat in it can use, or connect a folder so it reads the current file.
Three ways to hand it your documents, smallest first: one chat, a project, or a connected folder that reads the current file.

Answers That Point to the Source

It's always good to understand the source of a response so that you can learn to trust that the app is sourcing the right material when responding. A good setup tells you which document, and ideally which section, the answer came from. You can ask for this in the project's instructions: "Say which file the answer came from. If the files don't cover it, say so."

This makes it easy to verify. Simply open the file it named, find the section, and read the sentence. If it says what the answer says, use the answer. If it doesn't, or the file is last year's version, treat the answer as a guess and then either update the document or the instructions so that the app does the right thing next time.

A customer's question, the page it found, the answer with its source, and you opening that source to check. If the section says it, use the answer. If not, treat it as a guess.
The answer names its source, you open that source and check it, and only then is the answer used.

My rule of thumb: if it can't point to where it got the answer, I treat the answer as a guess.

Memory: What It Carries Between Chats

Documents are what the app looks up. Memory is what it carries with it. Within one chat, it can see what was said earlier, which is why "make it shorter" works. Between chats, Claude, ChatGPT and other chat apps can save short notes, like "runs a plumbing and HVAC shop," and put them on the desk next time. Notes can go stale, so facts that change belong in a document it looks up each time. Open the memory settings, or ask it what it remembers about you, and delete anything outdated. Claude's incognito chat and ChatGPT's temporary chat don't use or save memory.

Try It With One Document

Pick one short document customers ask about, like your hours or your service area. Add it to a project with the instruction above, then ask a question the way a customer would. Ask something the document doesn't cover. A good setup says "I don't know" instead of guessing.

What to Keep Out

Whatever you hand it goes to the AI app, so the app's privacy and data settings apply to your files as well. Leave out passwords, bank details and HR files. If the information is regulated, such as patient or policyholder records, check what your AI provider's terms cover before you add it. If memory is turned on, the same goes for what you tell it in chat.

Want help applying this to your work? We can work through a small task together in a Claude training or coaching session, or help you connect or build something for a job you already do. Send a message or request a call.

← Back to all thoughts

Let's Talk