nvim-llama  by jpmcb

Neovim plugin for local LLM access

Created 2 years ago
275 stars

Top 94.1% on SourcePulse

GitHubView on GitHub
Project Summary

nvim-llama provides Neovim interfaces for interacting with Large Language Models (LLMs) locally via Ollama. It targets Neovim users who want to integrate LLM capabilities directly into their development workflow, offering a convenient way to chat with and utilize AI models within the editor.

How It Works

The plugin leverages Docker to manage and run LLM models and clients, abstracting away complex setup and dependencies. This Docker-centric approach ensures cross-platform compatibility (macOS, Linux, Windows) and simplifies model management, as specified models are automatically downloaded and managed by Ollama.

Quick Start & Requirements

  • Installation: Use a Neovim package manager (Packer, lazy.nvim, vim-plug). Example for Packer: use 'jpmcb/nvim-llama'
  • Prerequisites: Docker is required.
  • Configuration: require('nvim-llama').setup({}) with optional model and debug parameters.
  • Models: Supports various Ollama models (e.g., llama2, mistral, codellama). RAM requirements range from 8GB for 3B models to 64GB+ for 70B models.
  • Usage: The :Llama command opens a terminal for chatting with the LLM.

Highlighted Details

  • Docker-based architecture for simplified setup and cross-platform compatibility.
  • Automatic model downloading and management via Ollama.
  • Direct integration into Neovim for in-editor LLM interaction.

Maintenance & Community

The project is marked as "Under active development." No specific community links or contributor information are provided in the README.

Licensing & Compatibility

The README does not explicitly state a license.

Limitations & Caveats

The project is under active development and may contain bugs or undergo breaking changes. Docker is a mandatory requirement. Significant RAM is needed for larger models.

Health Check
Last Commit

6 months ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
1 stars in the last 30 days

Explore Similar Projects

Starred by Andrej Karpathy Andrej Karpathy(Founder of Eureka Labs; Formerly at Tesla, OpenAI; Author of CS 231n), Anil Dash Anil Dash(Former CEO of Glitch), and
23 more.

llamafile by Mozilla-Ocho

0.1%
23k
Single-file LLM distribution and runtime via `llama.cpp` and Cosmopolitan Libc
Created 2 years ago
Updated 2 months ago
Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Vincent Weisser Vincent Weisser(Cofounder of Prime Intellect), and
7 more.

dalai by cocktailpeanut

0%
13k
Local LLM inference via CLI tool and Node.js API
Created 2 years ago
Updated 1 year ago
Feedback? Help us improve.