ehallm
depends on a fork of the openai
r package to enable function calling. As of January 2024 function calling is still not available in the main openai
package. The appropriate fork can be installed using the following command:
if (!require(remotes)) install.packages("remotes")
remotes::install_github("nhardtskim/openai")