llmhelper: Unified Interface for Large Language Model Interactions

Provides a unified interface for interacting with Large Language Models (LLMs) through various providers including OpenAI <https://platform.openai.com/docs/api-reference>, Ollama <https://ollama.com/>, and other OpenAI-compatible APIs. Features include automatic connection testing, max_tokens limit auto-adjustment, structured JSON responses with schema validation, interactive JSON schema generation, prompt templating, and comprehensive diagnostics.

Version: 1.0.0
Depends: R (≥ 4.1.0)
Imports: cli, dplyr, glue, httr, httr2, jsonlite, purrr, stringr, tibble, tidyprompt
Suggests: testthat (≥ 3.0.0)
Published: 2026-01-31
DOI: 10.32614/CRAN.package.llmhelper (may not be active yet)
Author: Zaoqu Liu ORCID iD [aut, cre]
Maintainer: Zaoqu Liu <liuzaoqu at 163.com>
BugReports: https://github.com/Zaoqu-Liu/llmhelper/issues
License: GPL (≥ 3)
URL: https://github.com/Zaoqu-Liu/llmhelper
NeedsCompilation: no
Citation: llmhelper citation info
Materials: README, NEWS
CRAN checks: llmhelper results

Documentation:

Reference manual: llmhelper.html , llmhelper.pdf

Downloads:

Package source: llmhelper_1.0.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=llmhelper to link to this page.