mirror of
https://github.com/zotero/zotero.git
synced 2026-10-07 02:58:09 +00:00
Mirror of https://github.com/zotero/zotero.git
Add optional pref to index and search fulltext of attachments. When enabled, attachment IDs are enqueue after regular items, notes, and annotations. Added helpers to extract outline and sections from structured text module. During indexing, the sections of the attachment are extracted, large sections are broken into chunks, and small sections are combined to fit into the context window of the model. Then, each chunk is embedded with its outline path as the prefix and added to embeddings table. Each row now contains full text of the chunk and it's path - a good amount of duplication needed to ensure that we can reliably connect the embedding of the chunk to its text for a preview. On search in Best Match mode, attachment rows get the score of the highest ranking chunk, so if there is a very relevant chunk in an attachment, the regular item with a non-relevant abstract will still rank highly. When the attachment row is selected, top 5 matching chunks appear in the new search results collapsible-section of the item pane, so one can examine matching chunks without opening the actual reader. |
||
|---|---|---|
| .github/workflows | ||
| app | ||
| chrome | ||
| defaults/preferences | ||
| document-worker@6d0c0ce45d | ||
| js-build | ||
| note-editor@acec74d09b | ||
| reader@c6edbfff75 | ||
| resource | ||
| scripts | ||
| scss | ||
| styles@dff7452b24 | ||
| test | ||
| translators@60f2d542ff | ||
| types/gecko | ||
| .babelrc | ||
| .gitattributes | ||
| .gitignore | ||
| .gitmodules | ||
| chrome.manifest | ||
| CLAUDE.md | ||
| CONTRIBUTING.md | ||
| COPYING | ||
| eslint.config.mjs | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| update.rdf | ||
| version | ||
Zotero
Zotero is a free, easy-to-use tool to help you collect, organize, cite, and share your research sources.
Please post feature requests or bug reports to the Zotero Forums. If you're having trouble with Zotero, see Getting Help.
For more information on how to use this source code, see the Zotero documentation.