citation("openalexVectorComp") now cites the package with its Zenodo DOI and, separately, the openalexPro ecosystem. Added CITATION.cff (GitHub "Cite this repository") and .zenodo.json (Zenodo metadata, linking the related ecosystem packages). The author's ORCID is in DESCRIPTION.delete_existing = FALSE, embed_corpus() and
batch_submit_openai() are supposed to skip rows that already have
embeddings with the same text hash. They never did: the existing
embeddings were opened with the label folder passed as the schema
argument of arrow::open_dataset(), which always failed silently. As a
result every run re-embedded the whole corpus, and batch_submit_openai()
resubmitted already-embedded rows as new (paid) OpenAI batch jobs. The
existing label=<label> folder is now read correctly and unchanged rows
are skipped.label=<label> folder
and distance and score functions no longer see duplicate ids. This applies
to embed_corpus() with delete_existing = FALSE and to
batch_collect_openai(). New rows are written to a new batch=<n> folder
first (embed_corpus() no longer restarts at batch=1, which would have
overwritten unchanged rows); only then are the old rows removed from older
shards. Shards and batch= folders left empty are deleted. Duplicates left
by earlier versions are cleaned up the next time new embeddings are written
to that label.served_model_name before
model_id.main and dev; test coverage only
on pushes to main.backend_specter2_tei() convenience helper for serving the merged
SPECTER2 proximity model via a local TEI server.specter2-setup vignette and inst/scripts/prepare_specter2_merged.py
inst/scripts/start_tei_specter2.sh for one-time model preparation and
serving.run_demo_openai()
plus demo_finalize_openai_batch() follow-up).demos/openalex and demos/openai._site deployment.| Old name | New name |
|---|---|
| embed_corpus_submit_openai_batch() | batch_submit_openai() |
| embed_corpus_status_openai_batch() | batch_status_openai() |
| embed_corpus_collect_openai_batch() | batch_collect_openai() |
| finalize_demo_openai_batch() | demo_finalize_openai_batch() |
| run_demo_openai_quarto() | run_demo_openai() |
| run_demo_openalex_quarto() | run_demo_openalex() |
| embedding_backend_config() | backend_config() |
| embedding_backend_info() | backend_info() |
| embedding_backend_embed_texts() | backend_embed_texts() |
| embedding_backend_read() | backend_read() |
| embedding_backend_save() | backend_save() |
0.1.3.