{"id":13410146,"url":"https://github.com/jpmcb/nvim-llama","last_synced_at":"2025-04-13T06:22:40.088Z","repository":{"id":191059909,"uuid":"683509343","full_name":"jpmcb/nvim-llama","owner":"jpmcb","description":"🦙 Ollama interfaces for Neovim","archived":false,"fork":false,"pushed_at":"2025-03-09T01:26:15.000Z","size":116,"stargazers_count":271,"open_issues_count":9,"forks_count":8,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-03-28T15:44:37.599Z","etag":null,"topics":["llama2","neovim","nvim","nvim-plugin","ollama"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jpmcb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yaml","license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["jpmcb"]}},"created_at":"2023-08-26T19:48:17.000Z","updated_at":"2025-03-21T07:53:22.000Z","dependencies_parsed_at":"2023-12-13T04:31:21.467Z","dependency_job_id":"a5de8017-75b1-4bc8-9013-a3d9b6aabb92","html_url":"https://github.com/jpmcb/nvim-llama","commit_stats":{"total_commits":10,"total_committers":1,"mean_commits":10.0,"dds":0.0,"last_synced_commit":"aaed87540a3156a3e17e53e14f7ec0fa3a21870a"},"previous_names":["jpmcb/nvim-llama"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpmcb%2Fnvim-llama","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpmcb%2Fnvim-llama/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpmcb%2Fnvim-llama/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jpmcb%2Fnvim-llama/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jpmcb","download_url":"https://codeload.github.com/jpmcb/nvim-llama/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247426999,"owners_count":20937199,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["llama2","neovim","nvim","nvim-plugin","ollama"],"created_at":"2024-07-30T20:01:05.211Z","updated_at":"2025-04-06T03:04:45.014Z","avatar_url":"https://github.com/jpmcb.png","language":"Python","funding_links":["https://github.com/sponsors/jpmcb"],"categories":["AI"],"sub_categories":["(requires Neovim 0.5)","Diagnostics"],"readme":"# 🦙 nvim-llama\n\n_[Ollama](https://github.com/jmorganca/ollama) interfaces for Neovim: get up and running with large language models locally in Neovim._\n\nhttps://github.com/jpmcb/nvim-llama/assets/23109390/3e9e7248-dcf4-4349-8ee2-fd87ac3838ca\n\n🏗️ 👷 Warning! Under active development!! 👷 🚧\n\n## Requirements\n\nDocker is required to use `nvim-llama`.\n\nAnd that's it! All models and clients run from within Docker to provide chat interfaces and functionality.\nThis is an agnostic approach that works for MacOS, Linux, and Windows.\n\n## Installation\n\nUse your favorite package manager to install the plugin:\n\n### Packer\n\n```lua\nuse 'jpmcb/nvim-llama'\n```\n\n### lazy.nvim\n\n```lua\n{\n    'jpmcb/nvim-llama'\n}\n```\n\n### vim-plug\n\n```lua\nPlug 'jpmcb/nvim-llama'\n```\n\n## Setup \u0026 configuration\n\nIn your `init.vim`, setup the plugin:\n\n```lua\nrequire('nvim-llama').setup {}\n```\n\nYou can provide the following optional configuration table to the `setup` function:\n\n```lua\nlocal defaults = {\n    -- See plugin debugging logs\n    debug = false,\n\n    -- The model for ollama to use. This model will be automatically downloaded.\n    model = llama2,\n}\n```\n\n### Model library\n\nOllama supports an incredible number of open-source models available on [ollama.ai/library](https://ollama.ai/library 'ollama model library')\n\nCheck out their docs to learn more: https://github.com/jmorganca/ollama\n\n---\n\nWhen setting the `model` setting, the specified model will be automatically downloaded:\n\n| Model              | Parameters | Size  | Model setting |\n| ------------------ | ---------- | ----- | ------------------------------ |\n| Neural Chat        | 7B         | 4.1GB | `model = neural-chat`       |\n| Starling           | 7B         | 4.1GB | `model = starling-lm`       |\n| Mistral            | 7B         | 4.1GB | `model = mistral`           |\n| Llama 2            | 7B         | 3.8GB | `model = llama2`            |\n| Code Llama         | 7B         | 3.8GB | `model = codellama`         |\n| Llama 2 Uncensored | 7B         | 3.8GB | `model = llama2-uncensored` |\n| Llama 2 13B        | 13B        | 7.3GB | `model = llama2:13b`        |\n| Llama 2 70B        | 70B        | 39GB  | `model = llama2:70b`        |\n| Orca Mini          | 3B         | 1.9GB | `model = orca-mini`         |\n| Vicuna             | 7B         | 3.8GB | `model = vicuna`            |\n\n\u003e Note: You should have at least 8 GB of RAM to run the 3B models, 16 GB to run the 7B models, and 32 GB to run the 13B models.\n70B parameter models require upwards of 64 GB of ram (if not more).\n\n## Usage\n\nThe `:Llama` autocommand opens a `Terminal` window where you can start chatting with your LLM.\n\nTo exit `Terminal` mode, which by default locks the focus to the terminal buffer, use the bindings `Ctrl-\\ Ctrl-n`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpmcb%2Fnvim-llama","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjpmcb%2Fnvim-llama","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjpmcb%2Fnvim-llama/lists"}