This is parrot.nvim, the ultimate stochastic parrot to support your text editing inside Neovim.
Frank Röder started this repository because a perplexity subscription provides $5 of API credits every month for free. Instead of letting them go to waste, he modified his favorite GPT plugin, gp.nvim, to meet his needs - a new Neovim plugin was born! 🔥
Unlike gp.nvim, parrot.nvim prioritizes a seamless out-of-the-box experience by simplifying functionality and focusing solely on text generation, excluding the integration of DALLE and Whisper.
Features
- Persistent conversations as markdown files stored within the Neovim standard path or a user-defined location
- Custom hooks for inline text editing with predefined prompts
- Support for multiple providers:
- Anthropic API
- perplexity.ai API
- OpenAI API
- Local and offline serving via ollama
- Custom agent definitions to determine specific prompt and API parameter combinations, similar to GPTs
- Flexible support for providing API credentials from various sources, such as environment variables, bash commands, and your favorite password manager CLI
I wonder why the downvotes. Many people are against using AI at all. Meanwhile, to others, AI turned to be a new tool on par (sometimes better, others worse) to search engines.
Being able to use so many backends, this plugin is great! Gotta try anthropic’s claude 3.5 sonnet… I want to see if that 90% on humaneval benchmark is tangible on practical use cases :)