How the Assistant Reads Your Files
This guide explains an important concept you need to understand to make the clearxx Assistant work well for you:
- Files — the documents you give to the Assistant
- How those files get read — in pieces, or as a whole file
No technical background needed. Every concept below comes with a real-world comparison and multiple examples.
Part 1: The Two Building Blocks (Overview)
Think of structuring and preparing the clearxx Assistant like setting up a new employee's desk:
| Building Block | What it's like |
|---|---|
| Files | The actual documents — contracts, price lists, policies, client records |
| Pieces vs. whole file | How your employee is allowed to read those documents — skim & search for the right pages, or read the whole document cover-to-cover every time |
It is important that you learn when to use which approach.
If you put too much data in the tools, they may not be able to perform, can take a very long time or even time out.
IMPORTANT:
- By default, the Assistant reads a file in pieces. This is the case for a file in a chat, in a Folder, and in a Knowledge.
- To make the Assistant read a whole file, flip the switch on that file. You can do this for a file in a chat or in a Folder. Do not flip the switch for a Knowledge.
- Text that you paste directly into the chat input field is always read completely.
- Rules and instructions do not belong in a Knowledge, because a Knowledge only gives the Assistant pieces.
See: docs.clearxx.ai
Part 2: Pieces vs. Whole File — How Files Get Read
The Simple Way to Think About It
Imagine asking a colleague a question, and they have access to your files.
- Pieces = Your colleague has a huge filing cabinet. When you ask a question, they run to the cabinet, search for the right folder, and pull out just the pages that answer your question. They don't read everything — just what seems relevant.
- Whole file = Your colleague has one document sitting open on their desk, and they read the entire thing, top to bottom, every single time you ask them anything — even if your question only relates to one sentence.
Definitions (Plain Language)
Pieces: The file gets cut into small pieces. Each piece gets a kind of "fingerprint" the computer can search quickly. When you ask a question, the clearxx Assistant looks through all the fingerprints, finds the pieces that seem most related to your question, and only reads those pieces — not the whole file.
Whole file: No cutting, no searching. The entire file gets handed to the clearxx Assistant with every single message, whether it's relevant to your question or not. The AI always has 100% of the document in front of it.
Where Does What Happen?
| Where the file is | What the Assistant gets by default | What you can do |
|---|---|---|
| Text pasted into the chat input field | The whole text | Nothing needed |
| A file in a chat | Pieces | Flip the switch to give it the whole file |
| A file in a Folder | Pieces | Flip the switch to give it the whole file |
| A file in a Knowledge | Pieces | Leave the switch alone — a Knowledge is for big collections you look things up in |
How to flip the switch: click on the file to open its preview. At the top right of the preview you will see the switch. By default it reads Using Focused Retrieval, which means pieces. After you flip it, the Assistant reads the whole file. Check this again every time you add a new file, because a new file starts in the default setting.
Quick Decision Table
| Your situation | Use this |
|---|---|
| One short document you want the clearxx Assistant to know completely during your chat | Whole file |
| A pricing sheet or terms sheet | Whole file |
| A one-page style guide or "always follow these rules" doc | Whole file |
| A short onboarding checklist | Whole file |
| A big pile of documents, contracts, or client files | Pieces (a Knowledge) |
| A large manual, handbook, or archive | Pieces (a Knowledge) |
| Content that grows over time (new files added weekly/monthly) | Pieces (a Knowledge) |
| Anything with 10s or 100s of pages | Pieces (a Knowledge) |
| You're not sure which one to pick | Ask yourself: must the Assistant know every line? If yes, use the whole file and keep it short. If not, use pieces |
Think carefully about when you actually want to use large amounts of data in the chat. Use the chat to plan.
To plan, the clearxx Assistant doesn't necessarily need to work through large amounts of data for you. Cline can do that better.
You also need to think about whether Cline should work with a sample or with the full data.
TIP – first ask the clearxx Assistant how you should handle the data, what and how much the Assistant needs, and what Cline needs.
Pieces — "Search and Find"
Best for
- Large collections of documents (tens or hundreds of pages or files)
- Files too big to read all at once
- Situations where only a small part of the document usually matters
- Content that keeps growing over time
Examples
1. Client Document Archive (Steuerberater / Tax Advisor)
You upload years of client tax filings, invoices, and correspondence — hundreds of documents. You ask: "What was Client Müller's 2024 revenue?" The clearxx Assistant searches everything and pulls out just the one or two relevant pages, instead of trying to read every document ever uploaded.
2. Company Policy Library (HR Consultant)
You have 50+ HR policy documents (vacation, sick leave, parental leave, home office rules...). An employee asks: "How many vacation days do I get in my third year?" The clearxx Assistant finds just the vacation policy section — it never touches the sick leave or parental leave documents.
3. Legal Case Files (Lawyer)
You upload a case file with hundreds of pages of evidence, contracts, and correspondence. You ask: "What did the contract say about termination notice?" The clearxx Assistant finds just the termination clause.
4. Coaching Session Notes Archive (Coach)
You've logged two years of session notes for a client. You ask: "What goals did we set for Anna in January?" The clearxx Assistant searches through two years of notes and finds just the January entry.
5. Growing Knowledge Base
You keep adding new contracts every week. With Knowledges, you never have to worry about "too many documents" — the clearxx Assistant just searches whatever is there. It scales.
What to know
- The Assistant only gets the pieces that best match your question. If your question needs the whole file (for example "list every section"), it may answer only partly, or tell you that parts are missing.
- The pieces can be different from one question to the next.
- It can miss something if the search doesn't catch it. Check important answers against your documents.
- This is the mode that scales — it works fine with huge amounts of content.
Whole File — "Read the Whole Thing, Every Time"
Paste the text directly into the chat input field, or add the file to a chat or a Folder and flip the switch.
Best for
- Short documents you want the clearxx Assistant to (always) fully know
- When you are working with the Assistant to create a plan to work on a larger solution. Give the Assistant a version (maybe reduced) of a real document so that the Assistant can see the actual data and layout etc. once, and can then use that for planning.
- Documents where missing even one detail could be a real problem
- Reference material that should always be considered, not just "found when relevant"
- Documents where you use the clearxx Assistant to help you create rules or help you create input that you want to use for the clearxx Agent Workspace and Cline.
- Make sure those documents are cleaned up before you add them to a chat or a Folder.
Examples
1. Pricing Sheet
One page listing pricing information. You want the clearxx Assistant to always know these exact numbers, every time, with zero risk of missing a plan. When the whole file is read, the whole price list is always present.
2. House Style Guide
"Always write in formal German (Sie, not Du). Never use exclamation marks. Always sign off with 'Mit freundlichen Grüßen.'" You want this followed on every single message — not just "found" occasionally through search.
3. Short Onboarding Checklist
A one-page new-employee checklist: "Day 1: set up email. Day 2: meet your manager..." You want the clearxx Assistant to reference the whole thing accurately — missing even one line item would be a real problem.
4. A Contract Template You Reuse Constantly
A short standard consulting agreement template that should always be available in full whenever drafting a new one — not cut into pieces or searched, since every clause matters.
5. Legal Disclaimer or Compliance Text
A short paragraph of legally required text that must appear, word-for-word, whenever relevant. When the whole file is read, nothing gets left out.
What to know
- Only works well for short documents. A page or two is fine, a long report is not.
- A 200-page PDF read as a whole file could overwhelm the clearxx Assistant's available space, making responses slower or lower quality.
- It takes up more process power per message, since the whole document is sent along every time.
- If you forget to flip the switch, the Assistant only gets pieces of the file, and parts of your instructions can be missing without any warning.
Simple Rule of Thumb
Small and always-important → Whole file (paste it, or flip the switch)
Big and only-sometimes-relevant → Pieces (a Knowledge)
If you are unsure whether a document is short enough: a page or two works as a whole file. Anything longer belongs in a Knowledge.