Skip to content

Use AI to automatically give suggestions for your code

Notifications You must be signed in to change notification settings

PressureTank/RevbotGPT.nvim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Review-GPT Neovim

Bring the review-gpt experience a brilliant editor

Requirements

Usage

With lazy.nvim

-- plugins above
"vibovenkat123/rgpt.nvim"
-- plugins below

With packer.nvim

-- plugins above
use "vibovenkat123/rgpt.nvim"
-- plugins below

Usage

Config (optional)

Example:

require("rgpt").setup({
    model = "text-davinci-003",
    max_tokens = 200,
    temperature = 0.2,
    top_p = 1,
    frequence_penalty = 1.2,
    presence_penalty = 0.3,
    best_of = 1,
})

All fields are optional

Example:

Example of the usage

In a file, do:

:ReviewGPT review

You can set keymaps for it too.

Credits

json.lua for parsing JSON

About

Use AI to automatically give suggestions for your code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%