Skip to main content

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).

Tests PyPI version

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.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ovos_skill_arxiv_papers-0.1.0.tar.gz (22.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ovos_skill_arxiv_papers-0.1.0-py3-none-any.whl (20.6 kB view details)

Uploaded Python 3

File details

Details for the file ovos_skill_arxiv_papers-0.1.0.tar.gz.

File metadata

  • Download URL: ovos_skill_arxiv_papers-0.1.0.tar.gz
  • Upload date:
  • Size: 22.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for ovos_skill_arxiv_papers-0.1.0.tar.gz
Algorithm Hash digest
SHA256 01d9bf4eba4f0297fc5e5f9727bbeb8c0e02b095b1d0486d5c72271122a78213
MD5 82a1cd2e0e68b7253dba4fad7f6b8741
BLAKE2b-256 fe8912fe5052b78f27160c3ae40c7a2bc768091c736f8746ceaa8bd6299decff

See more details on using hashes here.

Provenance

The following attestation bundles were made for ovos_skill_arxiv_papers-0.1.0.tar.gz:

Publisher: publish.yml on andlo/ovos-skill-arxiv-papers

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ovos_skill_arxiv_papers-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ovos_skill_arxiv_papers-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b48cc56f1964aa907603f5b0940b5bae55259cd9544ae41984b5bb23587a1281
MD5 239264d16b2ecad9f56cefba3bb2dc9d
BLAKE2b-256 164dcadc844bd620cf701170639396c27e6e830e00a622c1a1d37876cf156cd6

See more details on using hashes here.

Provenance

The following attestation bundles were made for ovos_skill_arxiv_papers-0.1.0-py3-none-any.whl:

Publisher: publish.yml on andlo/ovos-skill-arxiv-papers

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page