loading...

The {helpai} provides functions ai_ask(), ai_explain_term(), ai_explain_function(), ai_explain_code(), and ai_explain_error().

An RStudio add-in that uses the functions mentioned above is also available in the BioDataScience repository.

Installation

You can install the development version of {helpai} from GitHub with:

# install.packages("pak")
pak::pak("SciViews/helpai")

Example

This is a basic example. It will work if you have an Ollama procees serving locally (without extra configuration):

library(helpai)
ai_ask("What is data science?")

For further instructions, please, refer to these help pages at https://www.sciviews.org/helpai/.

Code of Conduct

Please note that the {helpai} package is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.