This package, aiworkflow, is aimed at making it simple to interact with local LLMs when using R. This package is NOT aimed at creating chat clients (while it could definitely support such a use case) but rather executing LLMs over a large amount of data, in a reproducible way. Think about executing LLMs NLP tasks on dataframes as a typical use case.
This package is very much in alpha stages. It can already do a lot of things, but it lacks complete testing coverage, and the API of the package is subject to change. You should be aware that functions may change and be deprecated until the 1.0 version is reached.
You can use install the github version directly with devtools:
devtools::install_github("r-guyot/aiworkflow")
or pak:
pak::pkg_install("r-guyot/aiworkflow")
There is currently no CRAN package but this may change in the near future.
LGPL v3, which means, in layman terms:
Please refer to the full details of the LICENSE document in any case.
You need to have at least:
to be able to use this package at the moment. A qdrant instance is optional.
In its current version it brings the following features:
The goal is to have this published on CRAN once this is robust enough and in a more complete shape.
Ultimately the idea of this package is to expand to more backends to run LLMs:
This package will eventually also support image generation through the ComfyUI API (most likely).
If you are interested to contribute to this package, you are welcome to issue a PR. Please also consider filing requests for new features and of course bug reports.