> ## Documentation Index
> Fetch the complete documentation index at: https://docs.learnterms.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Content Library

> Upload source documents, preview them, and prepare clean material for question generation.

## What the Content Library is

The **Content Library** is where you keep the source material your cohort generates questions from. You upload documents, preview them, organize them, and hand the good ones off to **Question Studio**.

Think of it as the shelf between your raw course files and the questions your cohort studies. The cleaner the material on that shelf, the better the questions that come out of it.

Everything in the library is **cohort-scoped** — you see your cohort's documents, not the whole platform's.

## Uploading a document

Click **Add file** to open the uploader. You can either **drag and drop** a file onto the panel or browse for one.

* Uploads are **PDF** files.
* The size limit is **50MB** per file.
* A progress bar shows the upload as it runs.
* If a file is the wrong type or too large, you'll see a clear message explaining why.

Once a file finishes uploading, LearnTerms processes it in the background — reading the text, pulling out tables and figures, and getting it ready to preview and use. Large files can take a little longer to finish processing.

## Browsing your library

The toolbar gives you a few ways to find what you need:

* **Search** — type in **Search files...** to filter by name.
* **Sort** — order documents by **Recently updated**, **Name (A-Z)**, **Oldest first**, **Largest first**, or **File type**.
* **Grid or list view** — switch layouts with the view toggle, whichever you find easier to scan.

Each document shows a type badge so you can tell at a glance what it is: **PDF**, **Slides**, **Image**, or **Document**, along with its size and when it was last updated.

## Opening and previewing a document

Open any document to bring up its detail drawer, which has three tabs:

<Tabs>
  <Tab title="Preview">
    A clean, readable rendering of the document's content — formatted text, **tables**, and math all displayed in place. Tables can be opened **fullscreen** when they're too wide to read comfortably. Slide-style documents can be viewed in a **deck (presentation) mode** that shows them slide by slide.
  </Tab>

  <Tab title="Source">
    The underlying extracted text from the document. This is the exact material that question generation reads from, so it's the best place to check whether the document came through cleanly.
  </Tab>

  <Tab title="Properties">
    Details about the file itself — name, type, size, and dates.
  </Tab>
</Tabs>

You can also expand the panel to **fullscreen** for a closer look, or open the original file in a new tab.

## Keeping the library clean

A few simple habits keep your library useful:

* **Give documents clear names.** A descriptive title makes the right file easy to find later.
* **Check the Source tab after uploading.** If the extracted text looks garbled or incomplete, that document will produce weak questions — fix or replace it before using it.
* **Delete what you don't need.** Use the delete option (you'll be asked to confirm) to remove outdated or duplicate files so the library stays focused.

## Why this matters for generation

The Content Library is the foundation that **Question Studio** builds on. When you generate questions, the agent reads only from the document and pages you select here — it can't pull in anything outside your material.

That means most "bad generation" is really a source-material problem. A clean, well-structured document in the library leads directly to clearer, more accurate questions for your cohort. To see how that source feeds into generation, read [What is an AI agent?](/ai/what-is-an-ai-agent) and [Question Studio](/admin/question-studio).

## Common questions

* **I can't upload a file.** Confirm it's a PDF and under 50MB, and that you have an admin or contributor role in the cohort.
* **My document looks empty or messy in Preview.** The original file may be image-only or poorly formatted. Check the **Source** tab; if the text didn't extract well, re-export a cleaner version and re-upload.
* **A document isn't showing up in Question Studio.** It needs to finish processing first. Give large files a moment, then try again.
* **I don't see another cohort's files.** That's expected — the library only shows your own cohort's documents.
