Code Monkey home page Code Monkey logo

chatgpt-copilot's Introduction


An VS Code ChatGPT Copilot Extension

The most loved opensourced ChatGPT extension for VS Code

The project is built on the most loved ChatGPT extension gencay/vscode-chatgpt, which has downloaded by ~500,000 developers.

But unfortunately, the original author has decided to stop maintaining the project, and the new recommended Genie AI extension on the original project is not opensourced. So I decided to fork it and continue the development.

Features

  • โž• Use GPT-4, GPT-3.5, Claude 3 or OpenAI compatible local models with your API Key from OpenAI, Azure OpenAI Service or Anthropic.
  • ๐Ÿ“ƒ Get streaming answers to your prompts in sidebar conversation window
  • ๐Ÿ”ฅ Stop the responses to save your tokens.
  • ๐Ÿ“ Create files or fix your code with one click or with keyboard shortcuts.
  • โžก๏ธ Export all your conversation history at once in Markdown format.
  • Automatic partial code response detection. Continues and combines automatically, when response is cut off.
  • Ad-hoc prompt prefixes for you to customize what you are asking ChatGPT
  • Edit and resend a previous prompt
  • Copy, insert or create new file from the code, ChatGPT is suggesting right into your editor.

Configurations

Configuration Description
chatgpt.gpt3.apiKey Required, please get from OpenAI, Azure OpenAI or Anthropic.
chatgpt.gpt3.apiBaseUrl Optional, default to "https://api.openai.com/v1".
For Azure OpenAI Service, it should be set to "https://[YOUR-ENDPOINT-NAME].openai.azure.com/openai/deployments/[YOUR-DEPLOYMENT-NAME]".
chatgpt.gpt3.model Optional, default to "gpt-3.5-turbo".
chatgpt.gpt3.googleCSEApiKey
chatgpt.gpt3.googleCSEId
Optional, to enable Google Custom Search (Only supported for GPT-3.5 and GPT-4).

Refer following sections for more details of how to configure various openai services.

OpenAI

    "chatgpt.gpt3.apiKey": "<api-key>",

Azure OpenAI Service

    "chatgpt.gpt3.apiBaseUrl": "https://<endpoint-name>.openai.azure.com/openai/deployments/<deployment-name>",
    "chatgpt.gpt3.apiKey": "<api-key>",
    "chatgpt.gpt3.model": "gpt-3.5-turbo",

Anthropic Claude 3

    "chatgpt.gpt3.model": "claude-3-sonnet-20240229",
    "chatgpt.gpt3.apiKey": "<api-key>",

Local or self-hosted LLM compatible with OpenAI

    "chatgpt.gpt3.apiKey": "<api-key>",
    "chatgpt.gpt3.apiBaseUrl": "<base-url>",

How to install locally

  • Install vsce if you don't have it on your machine (The Visual Studio Code Extension Manager)
    • npm install --global vsce
  • Run vsce package
  • Follow the instructions and install manually.
npm run build
npm run package
code --uninstall-extension feiskyer.chatgpt-copilot
code --install-extension chatgpt-copilot-*.vsix

License

This project is released under ISC License - See LICENSE for details. Copyright notice and the respective permission notices must appear in all copies.

chatgpt-copilot's People

Contributors

feiskyer avatar dependabot[bot] avatar maxregnerklos avatar gencay 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.