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 [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:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=llmhelper
to link to this page.