Coder Social home page Coder Social logo

icbd / codegpt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from carlrobertoh/codegpt

0.0 0.0 0.0 130.47 MB

JetBrains extension providing access to state-of-the-art LLMs, such as GPT-4, Code Llama, and others, all for free

Home Page: https://plugins.jetbrains.com/plugin/21056-codegpt

License: Apache License 2.0

Java 82.48% ANTLR 17.52%

codegpt's Introduction


plugin-icon

CodeGPT

A JetBrains extension providing access to state-of-the-art LLMs, such as GPT-4, Code Llama, and others, all for free

Downloads Rating Version Contributions welcome

Table of Contents
  1. About The Project
  2. Quick Start Guide
  3. Getting Started
  4. Features
  5. Roadmap
  6. License

About The Project

This is an extension for JetBrains IDEs that integrates AI into your coding environment. By leveraging the power of Large Language Models (LLMs), this makes it an invaluable tool for developers looking to streamline their workflow and gain a deeper understanding of the code they're working on.

Features

The plugin provides several key features, such as:

Chat with AI

animated

Chat With Multiple Files

animated

Choose Between Different Providers

Method Name Suggestions

Generate Commit Messages

Other features

  • Conversation History - View recent conversation history and restore previous sessions, making it easy to pick up where you left off
  • Concurrent conversations - Chat with AI in multiple tabs simultaneously
  • Seamless conversations - Chat with AI regardless of the maximum token limitations
  • Predefined Prompts - Create your own editor prompt or override the existing ones

Getting Started

  1. Download the Plugin

  2. Choose Your Preferred Service:

    a) OpenAI - Requires authentication via OpenAI API key.

    b) Azure - Requires authentication via Active Directory or API key.

    c) You.com - A free, web-connected service with an optional upgrade to You⚡Pro for enhanced features.

    d) LLaMA C/C++ Port - Recommended to have a decent computer to handle the computational requirements of running inference.

    Note: Currently supported only on Linux and MacOS.

  3. Start Using the Features

Installation

The plugin is available from JetBrains Marketplace. You can install it directly from your IDE via the File | Settings/Preferences | Plugins screen. On the Marketplace tab simply search for codegpt and select the CodeGPT suggestion:

marketplace

OpenAI

After successful installation, configure your API key. Navigate to the plugin's settings via File | Settings/Preferences | Tools | CodeGPT. Paste your OpenAI API key into the field and click Apply/OK.

Azure OpenAI

For Azure OpenAI services, you'll need to input three additional fields:

  • Resource name: The name of your Azure OpenAI Cognitive Services. It's the first part of the url you're provided to use the service: "https://my-resource-name.openai.azure.com/". You can find it in your Azure Cognitive Services page, under Resource ManagementResource ManagementKeys and Endpoints.
  • Deployment ID: The name of your Deployment. You can find it in the Azure AI Studio, under ManagementDeploymentDeployment Name column in the table.
  • API version: The most recent non-preview version.

In addition to these, you need to input one of the two API Keys provided, found along with the Resource Name.

You.com (Free)

You.com is a search engine that summarizes the best parts of the internet for you, with private ads and with privacy options.

You⚡Pro

Use the CodeGPT coupon for a free month of unlimited GPT-4 usage.

Check out the full feature list for more details.

LLaMA C/C++ Port (Free, Local)

Note: Currently supported only on Linux and MacOS.

The main goal of llama.cpp is to run the LLaMA model using 4-bit integer quantization on a MacBook.

Getting Started

  1. Select the Model: Depending on your hardware capabilities, choose the appropriate model from the provided list. Once selected, click on the Download Model link. A progress bar will appear, indicating the download process.

  2. Start the Server: After successfully downloading the model, initiate the server by clicking on the Start Server button. A status message will be displayed, indicating that the server is starting up.

  3. Apply Settings: With the server running, you can now apply the settings to start using the features. Click on the Apply/OK button to save your settings and start using the application.

animated

Note: If you're already running a server and wish to configure the plugin against that, then simply select the port and click Apply/OK.

Running locally

Linux or macOS

git clone https://github.com/carlrobertoh/CodeGPT.git
cd CodeGPT
git submodule update
./gradlew runIde

Windows ARM64

./gradlew runIde -Penv=win-arm64

Issues

See the open issues for a full list of proposed features (and known issues).

License

Apache 2.0 © Carl-Robert Linnupuu

If you found this project interesting, kindly rate it on the marketplace and don't forget to give it a star. Thanks again!

(back to top)

codegpt's People

Contributors

carlrobertoh avatar carlrobert-l avatar dependabot[bot] avatar siilats avatar viktorgozhiy avatar arcticlinux avatar tautcony avatar sintezcs avatar plinkr avatar mborgraeve avatar shalak avatar p91paul avatar rwese avatar strangedreamsny avatar wangwangxf avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.