{
  "_id": "6a12a7faacfb0bcc41d1500f",
  "Package": "rollama",
  "Title": "Communicate with 'Ollama' to Run Large Language Models Locally",
  "Version": "0.3.0.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)",
  "RoxygenNote": "7.3.3",
  "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/pak/sysreqs": "libssl-dev",
  "Repository": "https://jbgruber.r-universe.dev",
  "Date/Publication": "2026-03-25 20:58:49 UTC",
  "RemoteUrl": "https://github.com/jbgruber/rollama",
  "RemoteRef": "HEAD",
  "RemoteSha": "1820b53ef41dbb0340be6bacf7747ddfc8441169",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-24 07:16:21 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>",
  "MD5sum": "adf497c297fb99658cf92851316ccfe3",
  "_user": "jbgruber",
  "_type": "src",
  "_file": "rollama_0.3.0.9000.tar.gz",
  "_fileid": "e4c7b6aeb2659ecec205faa118f32417ce96d57867b68872093f0952ed2645ae",
  "_filesize": 3572949,
  "_sha256": "e4c7b6aeb2659ecec205faa118f32417ce96d57867b68872093f0952ed2645ae",
  "_created": "2026-05-24T07:16:21.000Z",
  "_published": "2026-05-24T07:25:46.364Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77579820967,
      "time": 142,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7183198770"
    },
    {
      "job": 77579820968,
      "time": 127,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183196952"
    },
    {
      "job": 77579820980,
      "time": 129,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7183243239"
    },
    {
      "job": 77579820975,
      "time": 80,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183217281"
    },
    {
      "job": 77579674882,
      "time": 154,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183181204"
    },
    {
      "job": 77579820960,
      "time": 103,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183193955"
    },
    {
      "job": 77579820979,
      "time": 179,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7183203793"
    },
    {
      "job": 77579820984,
      "time": 152,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7183200044"
    },
    {
      "job": 77579820978,
      "time": 169,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183202364"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jbgruber/actions/runs/26354869949",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/jbgruber/rollama",
  "_commit": {
    "id": "1820b53ef41dbb0340be6bacf7747ddfc8441169",
    "author": "JBGruber <JohannesB.Gruber@gmail.com>",
    "committer": "JBGruber <JohannesB.Gruber@gmail.com>",
    "message": "bump version\n",
    "time": 1774472329
  },
  "_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"
  },
  "_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-34",
      "n": 2
    },
    {
      "week": "2025-37",
      "n": 2
    },
    {
      "week": "2025-38",
      "n": 2
    },
    {
      "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
    }
  ],
  "_tags": [
    {
      "name": "v0.3.0",
      "date": "2026-03-25"
    }
  ],
  "_stars": 126,
  "_contributors": [
    {
      "user": "jbgruber",
      "count": 207,
      "uuid": 23524101
    },
    {
      "user": "textspur",
      "count": 41,
      "uuid": 40689852
    }
  ],
  "_userbio": {
    "uuid": 23524101,
    "type": "user",
    "name": "Johannes Gruber",
    "description": "Senior Researcher/Team Lead @ GESIS"
  },
  "_downloads": {
    "count": 1101,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rollama"
  },
  "_devurl": "https://github.com/jbgruber/rollama",
  "_pkgdown": "https://jbgruber.github.io/rollama/",
  "_searchresults": 113,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/rollama.html",
    "manual.pdf"
  ],
  "_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"
    }
  ],
  "_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",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "processx",
    "ps",
    "purrr",
    "R6",
    "rappdirs",
    "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": [],
      "created": "2024-01-07 16:18:57",
      "modified": "2024-12-06 14:05:53",
      "commits": 11
    },
    {
      "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-03-23 16:14:37",
      "commits": 2
    }
  ],
  "_score": 8.575447549284341,
  "_indexed": true,
  "_nocasepkg": "rollama",
  "_universes": [
    "jbgruber"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0.9000",
      "date": "2026-05-24T07:18:39.000Z",
      "distro": "noble",
      "commit": "1820b53ef41dbb0340be6bacf7747ddfc8441169",
      "fileid": "faa09e8ab9d8b3a07b584a2da256b64dc9cffcd3ee2a3f8acc0128ca97ce4f66",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jbgruber/actions/runs/26354869949"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.0.9000",
      "date": "2026-05-24T07:18:29.000Z",
      "distro": "noble",
      "commit": "1820b53ef41dbb0340be6bacf7747ddfc8441169",
      "fileid": "7c53ffadecd23cfe70252bb53e5960284853a30b089e4f2bec8ca309842efc81",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jbgruber/actions/runs/26354869949"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.0.9000",
      "date": "2026-05-24T07:25:07.000Z",
      "commit": "1820b53ef41dbb0340be6bacf7747ddfc8441169",
      "fileid": "c7a99502e285cc30bbd010411a1d4fefab014dcff81cbfe880bd9d4aa93046ac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jbgruber/actions/runs/26354869949"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.0.9000",
      "date": "2026-05-24T07:21:19.000Z",
      "commit": "1820b53ef41dbb0340be6bacf7747ddfc8441169",
      "fileid": "04ffb8ee47e57b3de6b6bb93850ab9fdd11b4ec063023d6cc459f883017fff57",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jbgruber/actions/runs/26354869949"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.0.9000",
      "date": "2026-05-24T07:18:19.000Z",
      "commit": "1820b53ef41dbb0340be6bacf7747ddfc8441169",
      "fileid": "a434d3a1fc4700df8c0b2bd7350bd9e2a2f6bf9bc6ceab32e493fa786f9e9218",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jbgruber/actions/runs/26354869949"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.0.9000",
      "date": "2026-05-24T07:18:01.000Z",
      "commit": "1820b53ef41dbb0340be6bacf7747ddfc8441169",
      "fileid": "1d20b4054a3890e418fbf8ae663165edf2760eb67817180c5021b5e3db2d1dc6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jbgruber/actions/runs/26354869949"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.0.9000",
      "date": "2026-05-24T07:17:33.000Z",
      "commit": "1820b53ef41dbb0340be6bacf7747ddfc8441169",
      "fileid": "e2053b1fd15ebdb4fd7e62fd82e9a8eb15f584c1f3bd6d1c355d98b2fd80296b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jbgruber/actions/runs/26354869949"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.0.9000",
      "date": "2026-05-24T07:17:53.000Z",
      "commit": "1820b53ef41dbb0340be6bacf7747ddfc8441169",
      "fileid": "a6f4c28eac69c277648192cb8331ff7f1501d3676931e4a2f2153fbaba0452b3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jbgruber/actions/runs/26354869949"
    }
  ]
}