BibGenieBibGenie

Semantic Index

Build local vector embeddings for paper abstracts and full-text PDFs in Zotero, enabling semantic similarity search and deep concept discovery.

Semantic Index powers BibGenie's semantic literature search in Zotero. It indexes Zotero regular-item titles and abstracts locally, so you can describe a research topic in natural language instead of relying only on keywords.

What Does It Index?

The semantic index currently focuses on Zotero regular items:

  • Title
  • Abstract
  • Selected metadata useful for search

Not PDF full-text search

Semantic Search is not the same as PDF full-text search. If a paper has no abstract or incomplete metadata, semantic matching may be less accurate.

This semantic index does not include:

  • PDF full text.
  • EPUB, snapshot, or other attachment content.
  • Zotero note content.
  • Annotation text or comments.

This does not mean BibGenie cannot use those materials. Add them as context for reading, or search saved annotations using their text and filters. Those are separate from title-and-abstract semantic search.

How Semantic Matching Works

Ask for “graph methods for biomedical research” and semantic search may find a paper titled “Knowledge graphs for drug discovery”, even when the wording differs. It compares meanings using indexed titles and abstracts, not PDF full text, and does not guarantee every relevant paper will appear.

An embedding represents text meaning in a form the model can compare. The local index stores these representations so they can be searched without processing the whole library again for every question. Where embeddings are generated depends on the selected model; a local index alone does not mean local model computation. For practical requests, see Search Your Zotero Library.

Choose an Embedding model

The semantic index uses the selected embedding model for titles, abstracts, and search queries, independently of the chat model. You can use an official model or a custom Embedding model.

For a custom model, first add and enable it in Model Settings → Add Model → Add Embedding model.
Open BibGenie settings, go to Library & Index → Semantic Index, and select a model from Embedding Model. Only enabled embedding models appear here.
If a confirmation appears, select Switch and rebuild. BibGenie regenerates the semantic index for included libraries. Your original items are unaffected.
Wait for indexing, then check status and failed items. You do not need to trigger another rebuild after confirming the switch.

Vectors from different models cannot be mixed. Switching requires rebuilding, which can take time and incur provider charges. The Current badge in Model Settings identifies the embedding model in use.

Rebuild or retry?

  • Rebuild Index: starts the index over when a full refresh is needed. The model-switch flow triggers this when switching.
  • Retry Failed: retries only failed items. Use this after fixing an API key, connection, or upstream account issue instead of rebuilding everything.
  • New and edited items are normally updated in the background; frequent manual rebuilds are unnecessary.

Troubleshoot custom models

ProblemWhat to check
New model missing from dropdownEnsure it is an enabled Embedding model; chat models do not appear here
Login requiredSign in to BibGenie, including when using custom or local embeddings
Connection, key, or upstream account errorCheck the selected model's API Key, Base URL, Model ID, and provider status in Model Settings; test, then retry failed items
Dimension mismatchCheck native output dimensions; the field does not reduce dimensions. Switch away before editing locked settings, then select the model again to rebuild

You can update the current model's name, description, and API key without rebuilding. Updating a key does not retry previous failures automatically; click Retry Failed.

Local index and request destination

Custom embedding requests go directly to your provider without using BibGenie Credit. Cloud providers receive titles, abstracts, and semantic queries and may charge for requests. Selecting a local chat model alone does not make embeddings local.

Status Reference

StatusMeaning
bootstrappingIndexing capability is initializing
indexingThe index is being built
updatingExisting index entries are being updated
idleThe index is ready
errorAn indexing error occurred

Metrics

MetricMeaning
Indexed CountNumber of items successfully indexed
Failed CountNumber of items that failed indexing
MessageCurrent status or error message

When to Check Semantic Index

  • Semantic search returns very few results.
  • BibGenie reports that the semantic index is unavailable.
  • Newly imported papers do not appear in semantic search.
  • Failed Count keeps increasing.
  • Zotero just started and the index is still bootstrapping or indexing.

Troubleshooting

Open BibGenie settings, go to Library & Index, and check the Semantic Index status.

If it is indexing or updating, wait for it to finish.

If there are failed items, retry failed indexing.

Check whether the relevant papers have titles and abstracts.

If failures continue, restart Zotero and check again.

Tips

  • Complete abstracts improve semantic search quality.
  • Use natural language descriptions instead of only keywords.
  • Combine semantic search with year, tag, or collection filters.
  • After finding candidate papers, add the PDFs or notes as context for deep reading.