{
  "_id": "6adb0551dd3792e773238f32",
  "Package": "llmhelper",
  "Type": "Package",
  "Title": "Unified Interface for Large Language Model Interactions",
  "Version": "1.0.0",
  "Authors@R": "c(\nperson(\"Zaoqu\", \"Liu\",\nemail = \"liuzaoqu@163.com\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-0452-742X\"))\n)",
  "Description": "Provides a unified interface for interacting with Large\nLanguage Models (LLMs) through various providers including\nOpenAI <https://platform.openai.com/docs/api-reference>, Ollama\n<https://ollama.com/>, and other OpenAI-compatible APIs.\nFeatures include automatic connection testing, max_tokens limit\nauto-adjustment, structured JSON responses with schema\nvalidation, interactive JSON schema generation, prompt\ntemplating, and comprehensive diagnostics.",
  "License": "GPL (>= 3)",
  "URL": "https://github.com/Zaoqu-Liu/llmhelper",
  "BugReports": "https://github.com/Zaoqu-Liu/llmhelper/issues",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "Roxygen": "list(markdown = TRUE)",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "libicu-dev libssl-dev",
  "Repository": "https://zaoqu-liu.r-universe.dev",
  "Date/Publication": "2026-01-27 09:39:47 UTC",
  "RemoteUrl": "https://github.com/Zaoqu-Liu/llmhelper",
  "RemoteRef": "HEAD",
  "RemoteSha": "c98aa9bf4e17a012f67366566501d8c1fffea0d2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-23 06:53:58 UTC",
    "User": "root"
  },
  "Author": "Zaoqu Liu [aut, cre] (ORCID: <https://orcid.org/0000-0002-0452-742X>)",
  "Maintainer": "Zaoqu Liu <liuzaoqu@163.com>",
  "_user": "zaoqu-liu",
  "_type": "src",
  "_file": "llmhelper_1.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/cf6c6f1c0260cff58414268c8732085620ecfa27ea7d7f4ccbc69684ca9587c1",
  "_filesize": 139662,
  "_sha256": "cf6c6f1c0260cff58414268c8732085620ecfa27ea7d7f4ccbc69684ca9587c1",
  "_expires": "2027-01-31T06:57:18.000Z",
  "_created": "2026-10-23T06:53:58.000Z",
  "_published": "2026-10-23T06:57:20.867Z",
  "_upstream": "https://github.com/Zaoqu-Liu/llmhelper",
  "_status": "success",
  "_maintainer": {
    "name": "Zaoqu Liu",
    "email": "liuzaoqu@163.com",
    "login": "zaoqu-liu",
    "orcid": "0000-0002-0452-742X",
    "description": "PI & Founder of πAI Lab | AI for Science | AI virtual cells & fibroblast biology",
    "uuid": 68080738
  },
  "_jobs": [
    {
      "job": 120284427966,
      "time": 111,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12484665871"
    },
    {
      "job": 120284428099,
      "time": 120,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12483944196"
    },
    {
      "job": 120284427957,
      "time": 155,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12484695882"
    },
    {
      "job": 120284428060,
      "time": 159,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12484790516"
    },
    {
      "job": 120283327119,
      "time": 196,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12483584967"
    },
    {
      "job": 120284428020,
      "time": 102,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12483833008"
    },
    {
      "job": 120284427982,
      "time": 69,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12483993731"
    },
    {
      "job": 120284428066,
      "time": 73,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12484381841"
    },
    {
      "job": 120284428055,
      "time": 55,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12484287289"
    }
  ],
  "_buildurl": "https://github.com/r-universe/zaoqu-liu/actions/runs/39913986378",
  "_commit": {
    "id": "c98aa9bf4e17a012f67366566501d8c1fffea0d2",
    "author": "Zaoqu-Liu <liuzaoqu@163.com>",
    "committer": "Zaoqu-Liu <liuzaoqu@163.com>",
    "message": "fix: Address CRAN review feedback\n\n- Remove redundant \"in R\" from title\n- Add web references for OpenAI and Ollama APIs in DESCRIPTION\n- Fix extra spaces in description field\n- Add \\value documentation for diagnose_llm_connection()\n- Add \\value documentation for ollama_download_model()\n",
    "time": 1769506787
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "httr",
      "role": "Imports"
    },
    {
      "package": "httr2",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyprompt",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "zaoqu-liu",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-04",
      "n": 11
    },
    {
      "week": "2026-05",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "zaoqu-liu",
      "count": 12,
      "uuid": 68080738
    }
  ],
  "_userbio": {
    "uuid": 68080738,
    "type": "user",
    "name": "Zaoqu Liu",
    "followers": 206,
    "description": "PI & Founder of πAI Lab | AI for Science | AI virtual cells & fibroblast biology"
  },
  "_downloads": {
    "count": 220,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/llmhelper"
  },
  "_devurl": "https://github.com/zaoqu-liu/llmhelper",
  "_searchresults": 2,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/llmhelper.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/zaoqu-liu/llmhelper",
  "_realowner": "zaoqu-liu",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2026-01-31"
    }
  ],
  "_exports": [
    "%>%",
    "%||%",
    "build_prompt",
    "diagnose_llm_connection",
    "extract_schema_only",
    "generate_json_schema",
    "get_llm_response",
    "llm_ollama",
    "llm_provider",
    "ollama_delete_model",
    "ollama_download_model",
    "ollama_list_models",
    "set_prompt"
  ],
  "_help": [
    {
      "page": "build_prompt",
      "title": "Build a templated prompt for LLM interaction using glue",
      "topics": [
        "build_prompt"
      ]
    },
    {
      "page": "diagnose_llm_connection",
      "title": "Comprehensive LLM connection diagnostics",
      "topics": [
        "diagnose_llm_connection"
      ]
    },
    {
      "page": "extract_schema_only",
      "title": "Extract only the schema part from generated result",
      "topics": [
        "extract_schema_only"
      ]
    },
    {
      "page": "generate_json_schema",
      "title": "Interactive JSON Schema Generator using tidyprompt",
      "topics": [
        "generate_json_schema"
      ]
    },
    {
      "page": "get_llm_response",
      "title": "Get LLM Response with Text or JSON Output",
      "topics": [
        "get_llm_response"
      ]
    },
    {
      "page": "get_user_feedback",
      "title": "Get user feedback interactively",
      "topics": [
        "get_user_feedback"
      ]
    },
    {
      "page": "grapes-or-or-grapes",
      "title": "Null coalescing operator",
      "topics": [
        "%||%",
        "grapes-or-or-grapes"
      ]
    },
    {
      "page": "llm_ollama",
      "title": "Create Ollama LLM provider with enhanced availability check and auto-download",
      "topics": [
        "llm_ollama"
      ]
    },
    {
      "page": "llm_provider",
      "title": "Create OpenAI-compatible LLM provider with enhanced error handling",
      "topics": [
        "llm_provider"
      ]
    },
    {
      "page": "ollama_delete_model",
      "title": "Delete a model from Ollama API",
      "topics": [
        "ollama_delete_model"
      ]
    },
    {
      "page": "ollama_download_model",
      "title": "Download a model from Ollama API",
      "topics": [
        "ollama_download_model"
      ]
    },
    {
      "page": "ollama_list_models",
      "title": "List available models from Ollama API",
      "topics": [
        "ollama_list_models"
      ]
    },
    {
      "page": "set_prompt",
      "title": "Set system and user prompts for LLM interaction",
      "topics": [
        "set_prompt"
      ]
    }
  ],
  "_readme": "https://github.com/Zaoqu-Liu/llmhelper/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "cli",
    "curl",
    "dplyr",
    "generics",
    "glue",
    "httr",
    "httr2",
    "jsonlite",
    "lifecycle",
    "magrittr",
    "mime",
    "openssl",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rlang",
    "S7",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "tidyprompt",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_score": 3,
  "_indexed": true,
  "_nocasepkg": "llmhelper",
  "_universes": [
    "zaoqu-liu"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-23T06:55:52.000Z",
      "distro": "resolute",
      "commit": "c98aa9bf4e17a012f67366566501d8c1fffea0d2",
      "fileid": "https://r2.ropensci.org/6c175d5fafee2e9ea26f7c083ce80302444a279f410264feaf68918ee6d2dc4d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zaoqu-liu/actions/runs/39913986378"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-23T06:55:57.000Z",
      "distro": "resolute",
      "commit": "c98aa9bf4e17a012f67366566501d8c1fffea0d2",
      "fileid": "https://r2.ropensci.org/cf82ac091a376dfaaa53fafae25b6a8dbb580dec9fe0566211098917844ef022",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zaoqu-liu/actions/runs/39913986378"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-23T06:56:29.000Z",
      "commit": "c98aa9bf4e17a012f67366566501d8c1fffea0d2",
      "fileid": "https://r2.ropensci.org/6c5fe0106b69c1585a4e63dba1533a9bfe8a81bb2715e5ac60ebc88c1219fd92",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zaoqu-liu/actions/runs/39913986378"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-23T06:56:39.000Z",
      "commit": "c98aa9bf4e17a012f67366566501d8c1fffea0d2",
      "fileid": "https://r2.ropensci.org/e9bf9866979e576da29e2acfb5f69a38907f01f858dc75448084d7550d6ff4da",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zaoqu-liu/actions/runs/39913986378"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-10-23T06:55:56.000Z",
      "commit": "c98aa9bf4e17a012f67366566501d8c1fffea0d2",
      "fileid": "https://r2.ropensci.org/7d7b5e0b907ca4c93b9df94f3f69838eb545b60fe182fac6704adbfc263186d3",
      "status": "success",
      "buildurl": "https://github.com/r-universe/zaoqu-liu/actions/runs/39913986378"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-23T06:55:03.000Z",
      "commit": "c98aa9bf4e17a012f67366566501d8c1fffea0d2",
      "fileid": "https://r2.ropensci.org/18b4e05c154dab4c9fe02d550a5d26d40a7d954310b9f9ad67d8f8f642e1cedb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zaoqu-liu/actions/runs/39913986378"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-23T06:55:09.000Z",
      "commit": "c98aa9bf4e17a012f67366566501d8c1fffea0d2",
      "fileid": "https://r2.ropensci.org/ab1df402f996f8d85269265e94dddaced34c1d3c5c67bfe51a7651ab0694abe2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zaoqu-liu/actions/runs/39913986378"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-23T06:54:54.000Z",
      "commit": "c98aa9bf4e17a012f67366566501d8c1fffea0d2",
      "fileid": "https://r2.ropensci.org/d63e83312f77e25a02ccacd642b320c48398bd50dfe73d1d55e87f053a5ad9c2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zaoqu-liu/actions/runs/39913986378"
    }
  ]
}