The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

AutoGenAI

AutoGenAI is a provider-agnostic R framework for joint optimization of prompts, model providers, and generation strategies.

Main ideas

Minimal offline example

library(AutoGenAI)

ex <- autogenai_example()
fit <- optimize_ai(
  task = ex$task,
  data = ex$data,
  providers = ex$providers,
  prompts = ex$prompts,
  temperatures = c(0, 0.2),
  strategies = c("single", "self_consistency")
)

fit
pareto_ai(fit)
select_configuration(fit, preference = "balanced")

Connecting a real model

my_provider <- ai_provider(
  name = "my-model",
  generate = function(prompt, input, params) {
    # Call any external model here and return text.
    paste(prompt, input)
  },
  input_cost_per_1k = 0,
  output_cost_per_1k = 0
)

The package itself does not require API keys and does not contact external services during checks.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.