arete

Automated REtrieval from TExt

CRAN status CRAN RStudio mirror downloads

arete is a Python based pipeline for extraction of species occurrence data through the usage of large language models. Due to the well-known limitations of LLMs, arete comes with validation tools designed to handle model hallucinations, allowing for a scientific, rigorous application of LLM. Currently supports usage of GPT with more planned, including local and non-proprietary models.

Installation

As arete is available from CRAN, you can use install.packages("arete") to get the current released version. Alteratively, install the latest release through remotes::install_github("VascoBranco/arete").

We recommend that you install Python before running arete_setup. Usually performed through sudo apt install python3-venv python3-pip python3-dev on linux systems or reticulate::install_python() for other OS. Some external software might also be needed to successfully install arete's dependencies, including: GDAL, GEOS, PROJ, netcdf, sqlite3, tbb, gfortran, libgmp3-dev, harfbuzz freetype2 fribidi (deb:libharfbuzz-dev libfribidi-dev (Debian, Ubuntu, etc), rpm: harfbuzz-devel fribidi-devel (Fedora, EPEL), brew: harfbuzz fribidi (OSX)). The vast majority of these should already be installed in most Windows installs. An extensive description of all dependencies is planned to be released soon.

References