{
  "_id": "6abb234699f7aa8c6aa4353e",
  "Package": "rollama",
  "Title": "Communicate with 'Ollama' to Run Large Language Models Locally",
  "Version": "0.3.1.9000",
  "Authors@R": "c(person(given = \"Johannes B.\",\nfamily = \"Gruber\",\nemail = \"JohannesB.Gruber@gmail.com\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0001-9177-1772\")),\nperson(given = \"Maximilian\",\nfamily = \"Weber\",\nrole = c(\"aut\", \"ctb\"),\ncomment = c(ORCID = \"0000-0002-1174-449X\")))",
  "Description": "Wraps the 'Ollama' <https://ollama.com> API, which can be\nused to communicate with generative large language models\nlocally.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Language": "en-US",
  "URL": "https://jbgruber.github.io/rollama/,\nhttps://github.com/JBGruber/rollama",
  "BugReports": "https://github.com/JBGruber/rollama/issues",
  "Config/roxygen2/version": "8.1.0",
  "Config/pak/sysreqs": "libssl-dev",
  "Repository": "https://jbgruber.r-universe.dev",
  "Date/Publication": "2026-09-29 01:06:35 UTC",
  "RemoteUrl": "https://github.com/jbgruber/rollama",
  "RemoteRef": "HEAD",
  "RemoteSha": "13fb5331052778fbc3ab7f3850a3bf5bd1a84d69",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-29 02:25:06 UTC",
    "User": "root"
  },
  "Author": "Johannes B. Gruber [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-9177-1772>),\nMaximilian Weber [aut, ctb] (ORCID:\n<https://orcid.org/0000-0002-1174-449X>)",
  "Maintainer": "Johannes B. Gruber <JohannesB.Gruber@gmail.com>",
  "_user": "jbgruber",
  "_type": "src",
  "_file": "rollama_0.3.1.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/a2ab0082bf3d58348a9ab5054eb3375b86db54702666ee00ff75188f0bc9e932",
  "_filesize": 3583653,
  "_sha256": "a2ab0082bf3d58348a9ab5054eb3375b86db54702666ee00ff75188f0bc9e932",
  "_expires": "2027-01-07T02:32:35.000Z",
  "_created": "2026-09-29T02:25:06.000Z",
  "_published": "2026-09-29T02:32:37.900Z",
  "_jobs": [
    {
      "job": 109227615556,
      "time": 190,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11009781398"
    },
    {
      "job": 109227615485,
      "time": 140,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11010046872"
    },
    {
      "job": 109227615518,
      "time": 96,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11009736710"
    },
    {
      "job": 109227615483,
      "time": 111,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11010047527"
    },
    {
      "job": 109226520553,
      "time": 267,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11010121573"
    },
    {
      "job": 109227615445,
      "time": 135,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11009516441"
    },
    {
      "job": 109227615631,
      "time": 158,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11009516480"
    },
    {
      "job": 109227615497,
      "time": 154,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11009331676"
    },
    {
      "job": 109227615513,
      "time": 156,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11009882083"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/jbgruber/actions/runs/36512149068",
  "_status": "success",
  "_upstream": "https://github.com/jbgruber/rollama",
  "_commit": {
    "id": "13fb5331052778fbc3ab7f3850a3bf5bd1a84d69",
    "author": "JBGruber <JohannesB.Gruber@gmail.com>",
    "committer": "JBGruber <JohannesB.Gruber@gmail.com>",
    "message": "improve `query()` cache\n",
    "time": 1790643995
  },
  "_maintainer": {
    "name": "Johannes B. Gruber",
    "email": "johannesb.gruber@gmail.com",
    "login": "jbgruber",
    "bluesky": "@jbgruber.bsky.social",
    "description": "Senior Researcher/Team Lead @ GESIS",
    "uuid": 23524101,
    "orcid": "0000-0001-9177-1772"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "callr",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "httr2",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "prettyunits",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "withr",
      "role": "Imports"
    },
    {
      "package": "base64enc",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "glue",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "S7",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "jbgruber",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-45",
      "n": 4
    },
    {
      "week": "2025-47",
      "n": 1
    },
    {
      "week": "2026-11",
      "n": 3
    },
    {
      "week": "2026-12",
      "n": 1
    },
    {
      "week": "2026-13",
      "n": 7
    },
    {
      "week": "2026-28",
      "n": 3
    },
    {
      "week": "2026-32",
      "n": 5
    },
    {
      "week": "2026-33",
      "n": 6
    },
    {
      "week": "2026-35",
      "n": 2
    },
    {
      "week": "2026-40",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.3.0",
      "date": "2026-03-25"
    },
    {
      "name": "v0.3.1",
      "date": "2026-08-10"
    }
  ],
  "_stars": 127,
  "_contributors": [
    {
      "user": "jbgruber",
      "count": 224,
      "uuid": 23524101
    },
    {
      "user": "textspur",
      "count": 41,
      "uuid": 40689852
    }
  ],
  "_userbio": {
    "uuid": 23524101,
    "type": "user",
    "name": "Johannes Gruber",
    "followers": 194,
    "description": "Senior Researcher/Team Lead @ GESIS"
  },
  "_downloads": {
    "count": 707,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rollama"
  },
  "_devurl": "https://github.com/jbgruber/rollama",
  "_pkgdown": "https://jbgruber.github.io/rollama/",
  "_searchresults": 133,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/rollama.html"
  ],
  "_homeurl": "https://github.com/jbgruber/rollama",
  "_realowner": "jbgruber",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.2",
      "date": "2024-01-29"
    },
    {
      "version": "0.0.3",
      "date": "2024-03-21"
    },
    {
      "version": "0.1.0",
      "date": "2024-05-01"
    },
    {
      "version": "0.2.0",
      "date": "2024-12-06"
    },
    {
      "version": "0.2.1",
      "date": "2025-04-24"
    },
    {
      "version": "0.2.2",
      "date": "2025-04-25"
    },
    {
      "version": "0.3.0",
      "date": "2026-03-25"
    },
    {
      "version": "0.3.1",
      "date": "2026-08-24"
    }
  ],
  "_exports": [
    "chat",
    "chat_history",
    "check_model_installed",
    "copy_model",
    "create_model",
    "create_schema",
    "delete_model",
    "embed_text",
    "list_models",
    "list_running_models",
    "make_query",
    "new_chat",
    "ping_ollama",
    "pull_model",
    "push_model",
    "query",
    "show_model",
    "type_array",
    "type_boolean",
    "type_enum",
    "type_integer",
    "type_number",
    "type_object",
    "type_string"
  ],
  "_help": [
    {
      "page": "chat_history",
      "title": "Handle conversations",
      "topics": [
        "chat_history",
        "new_chat"
      ]
    },
    {
      "page": "check_model_installed",
      "title": "Check if one or several models are installed on the server",
      "topics": [
        "check_model_installed"
      ]
    },
    {
      "page": "create_model",
      "title": "Create a model from a Modelfile",
      "topics": [
        "create_model"
      ]
    },
    {
      "page": "create_schema",
      "title": "Create a structured output schema",
      "topics": [
        "create_schema",
        "type_array",
        "type_boolean",
        "type_enum",
        "type_integer",
        "type_number",
        "type_object",
        "type_string"
      ]
    },
    {
      "page": "embed_text",
      "title": "Generate Embeddings",
      "topics": [
        "embed_text"
      ]
    },
    {
      "page": "list_models",
      "title": "List models that are available locally.",
      "topics": [
        "list_models"
      ]
    },
    {
      "page": "list_running_models",
      "title": "List running models",
      "topics": [
        "list_running_models"
      ]
    },
    {
      "page": "make_query",
      "title": "Generate and format queries for a language model",
      "topics": [
        "make_query"
      ]
    },
    {
      "page": "ping_ollama",
      "title": "Ping server to see if Ollama is reachable",
      "topics": [
        "ping_ollama"
      ]
    },
    {
      "page": "pull_model",
      "title": "Pull, push, show and delete models",
      "topics": [
        "copy_model",
        "delete_model",
        "pull_model",
        "push_model",
        "show_model"
      ]
    },
    {
      "page": "query",
      "title": "Chat with a LLM through Ollama",
      "topics": [
        "chat",
        "query"
      ]
    },
    {
      "page": "rollama-options",
      "title": "rollama Options",
      "topics": [
        "rollama-options"
      ]
    }
  ],
  "_pkglogo": "https://github.com/jbgruber/rollama/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/jbgruber/rollama/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "callr",
    "cli",
    "curl",
    "dplyr",
    "generics",
    "glue",
    "httr2",
    "jsonlite",
    "lifecycle",
    "magrittr",
    "openssl",
    "otel",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "processx",
    "ps",
    "purrr",
    "R6",
    "rlang",
    "sys",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "annotation.Rmd",
      "filename": "annotation.html",
      "title": "annotation",
      "author": "Maximilian Weber and Johannes B. Gruber",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Prompting Strategies",
        "Zero-shot",
        "One-shot",
        "Few-shot",
        "Chain-of-Thought",
        "The make_query helper function",
        "Example usage",
        "Zero-shot example",
        "One-shot example",
        "Few-shot example with multiple examples",
        "Batch annotation",
        "Example using a dataframe"
      ],
      "created": "2024-01-03 14:16:50",
      "modified": "2024-12-06 14:30:18",
      "commits": 17
    },
    {
      "source": "authentication.Rmd",
      "filename": "authentication.html",
      "title": "authentication",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Ollama Turbo Example",
        "Open WebUI Example",
        "Keeping your keys save"
      ],
      "created": "2025-08-23 09:05:37",
      "modified": "2026-03-23 16:23:12",
      "commits": 2
    },
    {
      "source": "hf-gguf.Rmd",
      "filename": "hf-gguf.html",
      "title": "Hugging Face Models",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2024-12-05 08:48:02",
      "modified": "2026-03-16 14:18:59",
      "commits": 6
    },
    {
      "source": "image-annotation.Rmd",
      "filename": "image-annotation.html",
      "title": "image-annotation",
      "author": "Maximilian Weber",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Annotating Several Images with Structured Output"
      ],
      "created": "2024-01-07 16:18:57",
      "modified": "2026-07-07 11:59:27",
      "commits": 12
    },
    {
      "source": "text-embedding.Rmd",
      "filename": "text-embedding.html",
      "title": "text-embedding",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2024-01-26 21:03:43",
      "modified": "2024-12-06 14:05:53",
      "commits": 10
    },
    {
      "source": "structured_outputs.Rmd",
      "filename": "structured_outputs.html",
      "title": "Using Structured Outputs",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Defining a Schema",
        "Extracting Information from Text",
        "Batch Extraction",
        "Nested Objects",
        "Image-Based Extraction",
        "Alternative Ways to Provide Structured Outputs",
        "Create as a list",
        "Create as json string",
        "Using ellmer",
        "Using tidyllm"
      ],
      "created": "2026-03-15 20:58:16",
      "modified": "2026-08-10 06:27:08",
      "commits": 3
    }
  ],
  "_score": 8.704776616642706,
  "_indexed": true,
  "_nocasepkg": "rollama",
  "_universes": [
    "jbgruber"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.1.9000",
      "date": "2026-09-29T02:28:23.000Z",
      "distro": "resolute",
      "commit": "13fb5331052778fbc3ab7f3850a3bf5bd1a84d69",
      "fileid": "https://r2.ropensci.org/263961f51ad03d53b061bced832ad27ca7d78c811bbb806ec932c1a7919191bc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jbgruber/actions/runs/36512149068"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.1.9000",
      "date": "2026-09-29T02:27:34.000Z",
      "distro": "resolute",
      "commit": "13fb5331052778fbc3ab7f3850a3bf5bd1a84d69",
      "fileid": "https://r2.ropensci.org/05b2abed864657338b7a36b65de039d5b9ae7c37805e8d6ae48682d1e620ea8b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jbgruber/actions/runs/36512149068"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.1.9000",
      "date": "2026-09-29T02:31:22.000Z",
      "commit": "13fb5331052778fbc3ab7f3850a3bf5bd1a84d69",
      "fileid": "https://r2.ropensci.org/34caf20a08774ab04ec5ca60d89d267be81970e3ec2bb9853b700394e8df293e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jbgruber/actions/runs/36512149068"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.1.9000",
      "date": "2026-09-29T02:31:55.000Z",
      "commit": "13fb5331052778fbc3ab7f3850a3bf5bd1a84d69",
      "fileid": "https://r2.ropensci.org/206b2a0be74442e8fc597f8e10a96514923156dc45fef1525ef72993b2a544b2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jbgruber/actions/runs/36512149068"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.1.9000",
      "date": "2026-09-29T02:27:45.000Z",
      "commit": "13fb5331052778fbc3ab7f3850a3bf5bd1a84d69",
      "fileid": "https://r2.ropensci.org/af6a8c60f067d1db295e2418698e4b5da8fe00d9d26c38d1455d4cb54b6cb1ea",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jbgruber/actions/runs/36512149068"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.1.9000",
      "date": "2026-09-29T02:26:40.000Z",
      "commit": "13fb5331052778fbc3ab7f3850a3bf5bd1a84d69",
      "fileid": "https://r2.ropensci.org/376cb523d06d9dbce8a7f59f10a0c495d51722f9cfe802347c659a446a6bd8fb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jbgruber/actions/runs/36512149068"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.1.9000",
      "date": "2026-09-29T02:26:25.000Z",
      "commit": "13fb5331052778fbc3ab7f3850a3bf5bd1a84d69",
      "fileid": "https://r2.ropensci.org/10991939fe20a14417ff7931ebd8c9341da24f9a44607ab276022c93aebdc090",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jbgruber/actions/runs/36512149068"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.1.9000",
      "date": "2026-09-29T02:26:32.000Z",
      "commit": "13fb5331052778fbc3ab7f3850a3bf5bd1a84d69",
      "fileid": "https://r2.ropensci.org/4cab6f216ee2296f2dd7e19429b577cfc3ed796b8ae16b6535da63f010c25766",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jbgruber/actions/runs/36512149068"
    }
  ]
}