Skip to content

Spaces and the Library ​

Your Library holds every reading you add. A Space is a topic or a course week: it picks some Library items as its sources and has its own instructions. Questions in a Space are answered from its sources only.

Add a reading to the Library ​

  1. Select Library in the chat list.
  2. Drop a file on the upload box, or click it to choose one.
  3. Optional: give it a title, a source type (Paper, Textbook, Notes or Other) and tags.
  4. Select Upload.

The Library page: upload and import forms, and two indexed items with their chunk and page counts

Scholar Lens accepts PDF, DOCX, PPTX, EPUB, Markdown, HTML and TXT, up to 512 MB per file by default. Save legacy .doc and .ppt files in the newer format first.

The item shows its progress: Queued, Reading the file, Embedding passages, Saving the index, then ready. A 600-page textbook takes about two minutes on an RTX 5090 PC. Scanned pages without a text layer go through OCR, which is slower.

Import from the web ​

Paste one of these into Link, arXiv id or DOI and select Import:

  • a web page address,
  • a YouTube video (its captions; a video without captions needs the optional local transcription, see Configuration),
  • an arXiv id such as arXiv:2401.01234,
  • a DOI such as 10.1109/... (the open-access PDF when there is one).

The browser extension adds pages behind your university login and a paper's references.

When an item may already be there ​

Scholar Lens warns you before you add something you probably have already, so the same paper isn't in your Library twice (for example a saved journal page and the paper's PDF).

  • Before saving: an upload, a web import or the extension's Save is compared with your items by their details: the same file, DOI or arXiv id, or nearly the same title with no conflicting first author or year. If one matches, you choose before anything is saved.
  • After indexing: if the details didn't match, the new item's text is compared with your other items. When most of the shorter one's text is also in the other, a warning appears above your Library, and as a popup if you're on the Library page.

Each warning names both items with their kind, pages and passages, and says in a line or two how they differ, for example which one is fuller. Choose one:

  • Replace the existing one: the new item takes its place in your Spaces, with its notes and study sets, and the existing item is deleted. Chosen before saving, this happens once the new item is indexed, so a failed upload never removes the old one.
  • Keep both: both stay, and that pair is not raised again.
  • Remove the new one (or Don't add it before saving): the new item is deleted, or not added.

An admin sets how alike two items must be in Settings › Retrieval and limits › Duplicate warning from (default 0.8, that is 80 %).

Work with an item ​

Each row in the Library has these buttons:

ButtonWhat it does
Assign to spacesAdds the item to one or more Spaces, with an optional scope per Space
ReadOpens the item in the reader. A PDF shows its pages, where you highlight and write notes, and Extracted text. Any other item shows its extracted text.
ContentsShows the table of contents Scholar Lens found
PublishAsks an admin to put it in the shared Library (admins publish at once)
Edit detailsTitle, authors, year and the citation fields used in study-guide references
ReindexReads and indexes the file again
DeleteRemoves the item and its index

The Shared Library tab lists items an admin has published for everyone. You can add them to your Spaces but not change them. See Share a Space.

Retrieval test (in the top bar of the Library) searches the ready Library and shows the passages and scores the index returns. Use it to check that a reading was indexed well.

Check what was taken from an item ​

Open an item with Read. Extracted text shows exactly the text Scholar Lens indexed, in reading order, with its section headings and page numbers. This is the text answers search and cite. Use it to check a saved web page or a video transcript against the original: Compare with the original opens the source.

Collapsed panels on a course page are read too. Their titles become section headings, so a page with Point cloud, Mesh and Volumetric representation panels keeps all three, with their titles.

Create a Space ​

  1. Open the Space picker at the top of the chat list.
  2. Select New space.
  3. Enter a title, for example RCV · Week 6 · Essential Matrix, and pick an icon.
  4. Optional: write Instructions for every answer in this Space, for example "Master's level, use H&Z notation, show derivations."
  5. Choose the Default answer style, the Web search policy and the Running code policy.
  6. Select Create space.

The policies:

  • Web search: Off (sources only; the chat's Web button is greyed out), Auto or Always (the chat's Web button starts on; turn it off for a question that should use the sources only).
  • Running code: Run it (the answer shows the code and its output), Ask me first, showing the code, or Never run code.

Change any of these later with the Space settings button in the top bar.

Choose a Space's sources ​

Select the sources count in the top bar (for example 3 sources).

  1. Type in Search the library and pick an item.
  2. Choose its role: Primary or Reference. The role is a label for you. Both are searched the same way.
  3. Optional: narrow it with a scope. Select Edit scope and type a range.

Scopes Scholar Lens understands:

  • section numbers: 9.1-9.6, chapter 9, chapter 9 sections 1 to 6
  • printed page numbers: pp. 239-262, p. 257
  • a section title: section on the essential matrix

It resolves these against the book's table of contents and page labels, without the model. If it can't, it says Not recognised. Whole item removes the scope.

A Space with no sources searches your whole Library.

Attach a file to one chat ​

Select the paperclip in the message box to attach a file. It is searched for that chat only and does not join the Library. The sources dialog lists it under Attached to this chat only.

Section summaries ​

After indexing, Scholar Lens writes a short summary of every section in the background. Concept maps and long answers use them. On a large book this takes a while and runs at low priority, so your questions are never held up.