Package: NatChat 1.1.0
NatChat: Chatting with Nature Journals Current Issue using a local Language Model
The goal of NatChat is to provide fast, local-language-model-powered summaries of articles from the current issues of Nature journals, making cutting-edge science more accessible and digestible. The package includes functions to identify available journals, retrieve articles from the latest issues, construct prompts for summarization and generate natural-language summaries using large language models (LLMs) via the 'ollama' interface. Output can be formatted for use in markdown tables, reports, or summaries. This tool is particularly useful for researchers, educators, and clinicians who want to stay up to date with the latest literature across multiple disciplines.
Authors:
NatChat_1.1.0.tar.gz
NatChat_1.1.0.zip(r-4.7)NatChat_1.1.0.zip(r-4.6)NatChat_1.1.0.zip(r-4.5)
NatChat_1.1.0.tgz(r-4.6-any)NatChat_1.1.0.tgz(r-4.5-any)
NatChat_1.1.0.tar.gz(r-4.7-any)NatChat_1.1.0.tar.gz(r-4.6-any)
NatChat_1.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
NatChat/json (API)
NEWS
| # Install 'NatChat' in R: |
| install.packages('NatChat', repos = c('https://monahton.r-universe.dev', 'https://cloud.r-project.org')) |
Reviews:monahton #
Bug tracker:https://github.com/monahton/natchat/issues
Pkgdown/docs site:https://monahton.github.io
Last updated from:08d85dff72 (on main). Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 198 | ||
| source / vignettes | OK | 150 | ||
| linux-release-x86_64 | OK | 180 | ||
| macos-release-arm64 | OK | 326 | ||
| macos-oldrel-arm64 | OK | 271 | ||
| windows-devel | OK | 147 | ||
| windows-release | OK | 147 | ||
| windows-oldrel | OK | 195 | ||
| wasm-release | OK | 110 |
Exports:add_promptadd_summarybuild_promptcheck_ollamafilter_articlesget_articlesnat_journalssave_reportsummarize_journaltt_article
Dependencies:askpassbase64encbitbit64clicliprcpp11crayoncurldplyrgenericsgluehmshttrhttr2jsonlitelifecyclemagrittrmimeollamaropensslpillarpkgconfigprettyunitsprogressR6rappdirsreadrrlangrvestselectrstringistringrsystibbletidyselecttinytabletzdbutf8vctrsvroomwithrxml2
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Add Summarization Prompts to Articles | add_prompt |
| Generate Summaries for Articles | add_summary |
| Construct a Text Prompt for Summarizing an Article | build_prompt |
| Check Ollama Installation and List Available Models | check_ollama |
| Filter Articles Based on Whitelist Terms | filter_articles |
| Retrieve Articles from a Nature Journal's Current Issue | get_articles |
| List Available Nature Journals and Their Slugs | nat_journals |
| Save Report as CSV and HTML | save_report |
| Summarize a Nature Journal Issue | summarize_journal |
| Format Articles as a TinyTable | tt_article |
