Metis · Librarian — Index Pdf Library
index_pdf_libraryExtracts and indexes full text from PDFs in literature and Zotero storage, processing only unindexed files so research content becomes searchable.
Instructions
Extract and index full text from all PDFs in the Metis library.
Reads PDFs from inputs/literature/ and Zotero storage.
Stores first 4000 characters per paper in library_fulltext table.
Also updates literature_metadata.abstract for any matched papers.
Incremental — only processes files not yet indexed.
Args:
scope: "literature" = inputs/literature/ only | "zotero" = Zotero storage only | "all" = both
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | all |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |