Reads arXiv paper abstracts aloud - provider skill for ovos-common-reading-pipeline-plugin
Project description
arXiv Papers (provider)
A provider skill for ovos-common-reading-pipeline-plugin, reading arXiv paper abstracts aloud.
A second real-world test that common-reading works for more than fairy
tales - this one introduces a new content_type ("paper"), sourced from
a completely different kind of feed (per-category, updated daily).
This skill has no standalone voice interface. It registers no intents and never speaks. It only answers ovos.common_reading.* bus messages, so you also need ovos-common-reading-pipeline-plugin installed and added to your pipeline config for it to be useful at all.
Install
pip install ovos-skill-arxiv-papers ovos-common-reading-pipeline-plugin
Source
Feeds from https://rss.arxiv.org/rss/<category> (RSS 2.0), one
subject category at a time - default cs.AI, configurable via this
skill's settings (category, e.g. cs.CL, math.QA, q-bio.NC - see
arXiv's category taxonomy).
Refreshed at most once a day, matching arXiv's own daily feed rebuild
schedule.
Only the abstract is read, not the full paper - papers are PDFs,
out of scope for TTS narration. The raw feed description includes
arXiv's own arXiv:<id> Announce Type: <type> header before the
abstract text; this provider strips that off before offering the text.
Translation
Like ovos-skill-ovosblog, this machine-translates titles (for matching
and search responses) and abstracts (when reading them aloud) for
non-English devices, using whatever
ovos-plugin-manager
language-translation plugin is configured. Search responses include
"machine_translated": true/false for disclosure.
If no translation plugin is available, this provider does not respond to searches at all for a non-English device, rather than silently offering English content the user didn't ask for.
Note for anyone comparing providers: unlike
ovos-skill-andersen-tales/ovos-skill-grimm-tales/
ovos-skill-andrew-lang-tales, which check a fixed SUPPORTED_LANGUAGES
set at load time and refuse to load at all otherwise, this provider
always loads regardless of device language - it can't know in advance
whether a translation plugin will be available, so it always registers
its bus events and decides per-search instead (see above).
Collection hints
Responds to collection_hint values like "arxiv", "the arxiv", and
"archive"/"the archive" (arXiv is commonly pronounced "archive", so
that's a likely STT transcription).
Content type
Responds to content_type hints of "paper", "abstract", "research", or
"study". Ignores everything else (e.g. "story", "article").
"Surprise me"
A search with no specific phrase but a matching collection_hint
(e.g. "read me a paper from arXiv") returns the most recent paper in
the configured category, by pubDate.
Terms of use
arXiv explicitly provides these per-category RSS feeds for this kind of use (see arXiv's RSS documentation) - review the Terms of Use for arXiv APIs before adjusting the request frequency below the daily cache TTL here.
Credits
Content and feed from arxiv.org, an open-access e-print repository operated by Cornell University.
Category
Science
Tags
#science #research #arxiv #papers #provider
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ovos_skill_arxiv_papers-0.1.1.tar.gz.
File metadata
- Download URL: ovos_skill_arxiv_papers-0.1.1.tar.gz
- Upload date:
- Size: 23.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c6ee6ac11a1c5aed5aa3dd9bd18c60a5b627e31f45b9b7530491c4bf1d025a7
|
|
| MD5 |
829f7e3f206719fde8662c3f8222cc01
|
|
| BLAKE2b-256 |
d43ddccde956287cce5b1707d104972f753aa6a80540be81217b77e9985514f2
|
Provenance
The following attestation bundles were made for ovos_skill_arxiv_papers-0.1.1.tar.gz:
Publisher:
publish.yml on andlo/ovos-skill-arxiv-papers
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ovos_skill_arxiv_papers-0.1.1.tar.gz -
Subject digest:
5c6ee6ac11a1c5aed5aa3dd9bd18c60a5b627e31f45b9b7530491c4bf1d025a7 - Sigstore transparency entry: 2217847997
- Sigstore integration time:
-
Permalink:
andlo/ovos-skill-arxiv-papers@166b8ab986a856e5bbfd3d18e0ff35e6779e4cd5 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/andlo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@166b8ab986a856e5bbfd3d18e0ff35e6779e4cd5 -
Trigger Event:
push
-
Statement type:
File details
Details for the file ovos_skill_arxiv_papers-0.1.1-py3-none-any.whl.
File metadata
- Download URL: ovos_skill_arxiv_papers-0.1.1-py3-none-any.whl
- Upload date:
- Size: 20.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b436f39e163d6e0fa2a845832a47154ca1eea0360cb4d2c2e367691bf06ec62e
|
|
| MD5 |
a4bde72055df78147d0dcd59866a421a
|
|
| BLAKE2b-256 |
f0845b6fa9ff021f5e37f939f5231ce6c0609c563ef1115993506d38139a20c0
|
Provenance
The following attestation bundles were made for ovos_skill_arxiv_papers-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on andlo/ovos-skill-arxiv-papers
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ovos_skill_arxiv_papers-0.1.1-py3-none-any.whl -
Subject digest:
b436f39e163d6e0fa2a845832a47154ca1eea0360cb4d2c2e367691bf06ec62e - Sigstore transparency entry: 2217848446
- Sigstore integration time:
-
Permalink:
andlo/ovos-skill-arxiv-papers@166b8ab986a856e5bbfd3d18e0ff35e6779e4cd5 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/andlo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@166b8ab986a856e5bbfd3d18e0ff35e6779e4cd5 -
Trigger Event:
push
-
Statement type: