{
  "_id": "6a1696bfacfb0bcc41d7bbd0",
  "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-05-27 06:56:43 UTC",
    "User": "root"
  },
  "Author": "Zaoqu Liu [aut, cre] (ORCID: <https://orcid.org/0000-0002-0452-742X>)",
  "Maintainer": "Zaoqu Liu <liuzaoqu@163.com>",
  "MD5sum": "6e4e8942a5b37bcbe510f6d2df6b7bad",
  "_user": "zaoqu-liu",
  "_type": "src",
  "_file": "llmhelper_1.0.0.tar.gz",
  "_fileid": "a8e6a118f2041db1446e98af4217a8a0c763d7d9f42c9db9d87dbce2261a48a5",
  "_filesize": 141935,
  "_sha256": "a8e6a118f2041db1446e98af4217a8a0c763d7d9f42c9db9d87dbce2261a48a5",
  "_created": "2026-05-27T06:56:43.000Z",
  "_published": "2026-05-27T07:01:19.722Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78024024272,
      "time": 127,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7233887188"
    },
    {
      "job": 78024024288,
      "time": 121,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233885809"
    },
    {
      "job": 78024024296,
      "time": 84,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7233901091"
    },
    {
      "job": 78024024391,
      "time": 89,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233914111"
    },
    {
      "job": 78023595052,
      "time": 196,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233851538"
    },
    {
      "job": 78024024286,
      "time": 96,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233878612"
    },
    {
      "job": 78024024319,
      "time": 83,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7233875258"
    },
    {
      "job": 78024024295,
      "time": 92,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7233878263"
    },
    {
      "job": 78024024297,
      "time": 90,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233877609"
    }
  ],
  "_buildurl": "https://github.com/r-universe/zaoqu-liu/actions/runs/26495781256",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/Zaoqu-Liu/llmhelper",
  "_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
  },
  "_maintainer": {
    "name": "Zaoqu Liu",
    "email": "liuzaoqu@163.com",
    "login": "zaoqu-liu",
    "orcid": "0000-0002-0452-742X",
    "description": "AI4S",
    "uuid": 68080738
  },
  "_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": "LIU Zaoqu",
    "description": "AI4S"
  },
  "_downloads": {
    "count": 136,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/llmhelper"
  },
  "_devurl": "https://github.com/zaoqu-liu/llmhelper",
  "_searchresults": 2,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/llmhelper.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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",
    "rappdirs",
    "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-05-27T06:58:51.000Z",
      "distro": "noble",
      "commit": "c98aa9bf4e17a012f67366566501d8c1fffea0d2",
      "fileid": "fc2f8f979112a5c18c55cbdc2a746310da3ad0e728022091e0775405b32be13a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zaoqu-liu/actions/runs/26495781256"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-27T06:58:47.000Z",
      "distro": "noble",
      "commit": "c98aa9bf4e17a012f67366566501d8c1fffea0d2",
      "fileid": "bed64a04f025a160c1296f702cfb4c835ffb1ebcf6b5cc280defec8b4810fbae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zaoqu-liu/actions/runs/26495781256"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-27T06:59:49.000Z",
      "commit": "c98aa9bf4e17a012f67366566501d8c1fffea0d2",
      "fileid": "aa275bd8072f70d96781ad97a8c718255234c75e3a9bc981bc1dca9a1a368c52",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zaoqu-liu/actions/runs/26495781256"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-27T07:00:36.000Z",
      "commit": "c98aa9bf4e17a012f67366566501d8c1fffea0d2",
      "fileid": "90db3668ee53b5c92cd33abf101c9dd3389949a9859a9b7f973391167f598e28",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zaoqu-liu/actions/runs/26495781256"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-05-27T06:58:37.000Z",
      "commit": "c98aa9bf4e17a012f67366566501d8c1fffea0d2",
      "fileid": "c7d84144e10f1a2615520349760d24a31a919b47780a979b4f38425979719d5f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/zaoqu-liu/actions/runs/26495781256"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-27T06:58:02.000Z",
      "commit": "c98aa9bf4e17a012f67366566501d8c1fffea0d2",
      "fileid": "dab597bc113c375e81d5df1ab8b268d49c0ea3285c831b42c6b96cab143a2d94",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zaoqu-liu/actions/runs/26495781256"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-27T06:58:14.000Z",
      "commit": "c98aa9bf4e17a012f67366566501d8c1fffea0d2",
      "fileid": "2871491031e962b9cbbec94990967a95e3c733d1c2caaad12159f9e7b3e08516",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zaoqu-liu/actions/runs/26495781256"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-27T06:58:12.000Z",
      "commit": "c98aa9bf4e17a012f67366566501d8c1fffea0d2",
      "fileid": "fe7d93476ef2e280d30a0d1b5c46b379bed1a9b7a57f51dc6b6f064c253c63bb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/zaoqu-liu/actions/runs/26495781256"
    }
  ]
}