Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

chatgpt

> 编程语言
Open source

A free AI assistant that supports GPT-4,支持GPT-4的免费AI助手

100 stars0 likes2 views
WebsiteGitHub

About

A free AI assistant that supports GPT-4,支持GPT-4的免费AI助手

ChatGPT

Keyless,Magic-free,Login-free,GPT-4,Multilingual

免Key,免魔法,免登录,GPT-4,多语言

無需Key,無需魔法,無需登入,GPT-4,多語言

English

️ Communication

Group number 【724138520】

Click to join

Or join by scanning the QQ QR code

Features

  • Copy and insert code into current and new files
  • Add predefined prompts for quick input during questioning
  • Export code or entire conversations as markdown files
  • Save your conversation history on your local hard drive, replay, continue, and manage at any time
  • Bind your own API key that supports GPT4 to use the GPT4 model
  • ️ Bind your own API key to support streaming context conversation and you can pause the response at any time
  • Use your own OpenAI server
  • Privacy secured, all information is saved on your local hard drive, without uploading any information to any server
  • The plugin supports multiple languages, including English, Simplified Chinese, and Traditional Chinese. If you wish to add a new language, please raise an issue here.

Commands

  • **Check the following code for bugs and provide repair suggestions **: Use the code error-finding feature to analyze and highlight errors in the code
  • **Explain the following code in detail **: Use the code explanation feature for a better understanding of your code
  • **Refactor this code and tell me what did you change **: Refactor code and understand clearly what you've changed
  • **ChatGPT:Add tests for the following code **: Easily add tests for your code
  • ChatGPT:Add Predefined Prompt➕: Add predefined prompts through a combination of shortcuts and input
  • **ChatGPT: Choose Predefined Prompt **: Choose a predefined prompt
  • ChatGPT:Custom prompt❓: Generate custom queries for ChatGPT
  • ChatGPT: Add predefined prompt ➕: Add predefined prompt
  • ChatGPT:Bind your own API key: Easily bind your own API key using a combination of shortcuts and commands
  • ChatGPT:Validate API key✔️: Validate your API key to ensure its validity and correct function
  • ChatGPT:Refresh API key: Refresh the existing API key to obtain a new API key
  • ChatGPT:Set language: Set the language you want with shortcuts and commands. The default is English
  • ChatGPT:Set up a custom proxy server: Set and use your own proxy server by inputting your proxy server information
  • ChatGPT:Ask a question❓: Click on the ChatGPT icon and input your content, then press Enter to get a reply from ChatGPT
  • ChatGPT:Clear list️: Able to clear the current conversation
  • ChatGPT:Export markdown: Able to export the current conversation as a markdown file

Usage

Install the extension

Install the extension from the VSCode Marketplace

Ask question❓

Press the shortcut key Ctrl+Shift+P(Command + Shift + P ), type ChatGPT:Ask a question ❓, press Enter, type your question, press Enter again, and the answer panel will automatically open to provide an answer.

Alternatively, click on the ChatGPT icon on the left, enter what you want to say, press Enter, and wait a few seconds for ChatGPT's reply to appear.

On the answer page, the first small icon is for copying to the clipboard, the second small icon is for inserting the answer at the current cursor position, and the third small icon is for creating and opening a file and inserting the answer at the current cursor position.

API key

What is an API key?

An API key from OpenAI is a mechanism for authenticating and authorizing access to OpenAI's API (Application Programming Interface). An API key is like a password, allowing developers to interact with OpenAI's services in a secure manner. The API key is a critical factor in establishing a connection between the server and the client, used to verify the legitimacy of the request. Typically, only users with a valid API key can access a specific API.

Here are the general steps to use the OpenAI API key:

  • Create an OpenAI account: You first need to click here to create an OpenAI account, and then generate your API key in that account.

  • Generate API key: In the OpenAI dashboard, click here you can generate a new API key."

Bind your own API key

Press the shortcut Ctrl+Shift+P(Command + Shift + P ), enter ChatGPT:Bind your own API key, press Enter, input the API key, press Enter again, and the API key will be updated.

You can also open any file, right-click, select ChatGPT:Bind your own API key, input the API key, and press Enter to update the API key. If the update is successful, the balance and expiry date of the API key and supported models will be displayed. If the update fails, you will be prompted to re-enter the API key.

Validate API key✔️

Press the shortcut Ctrl+Shift+P(Command + Shift + P ), enter ChatGPT:Validate API key ✔️, press Enter, and the API key will be validated.

You can also open any file, right-click, select ChatGPT:Validate API key ✔️, and press Enter to validate the API key. If the validation is successful, the balance and expiry date and supported models of the API key will be displayed. If the validation fails, you will be notified that the API key is invalid.

If you wish to use GPT-4, you need to click here to apply for GPT-4 API permissions.

Refresh API key

Press the shortcut Ctrl+Shift+P(Command + Shift + P ), enter ChatGPT:Refresh API key ,You can then obtain a new API key!

Why is there a bug in this code?

Open any file, select a piece of code (if no code is selected, the whole content of the file will be considered), then right-click and choose ChatGPT:Why is there a bug in this code? from the menu. This can help you analyze your code and highlight any errors.

Help me explain the code?

Open any file, select a piece of code (if no code is selected, the whole content of the file will be considered), then right-click and choose ChatGPT:Help me explain the code? from the menu. This can help explain your code.

Refactor this code and tell me what did you change?

Open any file, select a piece of code (if no code is selected, the whole content of the file will be considered), then right-click and choose ChatGPT:Refactor this code and tell me what did you change? from the menu. This can help refactor your code.

Add some tests for this code for me

Open any file, select a piece of code (if no code is selected, the whole content of the file will be considered), then right-click and choose ChatGPT:Add some test for this code for me from the menu. This can help add tests for your code.

Custom prompt❓

Open any file, select a piece of code (if no code is selected, the whole content of the file will be considered), then right-click and choose ChatGPT:Custom prompt ❓ from the menu. An input box will pop up, type your question, press Enter, and you will get an answer.

Add predefined prompts➕

Press the shortcut Ctrl+Shift+P(Command + Shift + P ), enter ChatGPT:Add Predefined Prompt ➕, press Enter, and you can enter predefined prompts, which could be a title or content. After input, in the question input box, you can type / to pop up a predefined selection box, then use the up and down arrow keys to select a predefined prompt. Press Enter or click to confirm and it will be automatically filled into the question input box.

Choose Predefined Prompt ➕

Press the shortcut keys Ctrl+Shift+P (Command + Shift + P on Mac), type in ChatGPT: Choose Predefined Prompt➕, a selection window will pop up for users to choose their custom prompts they have added.

Set language

Press the shortcut Ctrl+Shift+P(Command + Shift + P ), enter ChatGPT:Set language , press Enter, and select the language you want to set. The default is English.

Set up a custom proxy server

Press the shortcut Ctrl+Shift+P(Command + Shift + P ), enter ChatGPT:Set up a custom proxy server ,Then, by entering your own proxy server, you can use your own proxy server.

Settings❓

  • OpenAI Documentation
  • OpenAI API Guide

Users can configure the settings of VS Code plugins by following these steps:

  1. Open Settings: In VS Code, press the shortcut Ctrl+, or select File > Preferences > Settings from the top menu bar (on Mac it is Code > Preferences > Settings).

  2. Search for Plugin Settings: In the settings search bar, enter the name of the plugin or keywords of the configuration parameters. VS Code will dynamically display the configuration options that match your input.

  3. Modify Configuration Parameters: Click the configuration parameter you want to modify, then enter a new value or select a new option. You can also click the edit icon (the pencil icon) to add the configuration parameter to your user settings or workspace settings, and then modify it there.

  4. Save Modifications: VS Code automatically saves your settings after you make modifications. Close the settings tab or click elsewhere, and the new configuration will take effect.

Model

The OpenAI API is powered by a diverse set of models with different capabilities and price points. You can also make limited customizations to our original base models for your specific use case with fine-tuning.

GPT-3.5

GPT-3.5 models can understand and generate natural language or code. Our most capable and cost effective model in the GPT-3.5 family is gpt-3.5-turbo which has been optimized for chat but works well for traditional completions tasks as well.

On June 27th, 2023, gpt-3.5-turbo will be updated to point from gpt-3.5-turbo-0301 to gpt-3.5-turbo-0613.

We recommend using gpt-3.5-turbo over the other GPT-3.5 models because of its lower cost and improved performance.

GPT-4

GPT-4 is currently in a limited beta and only accessible to those who have been granted access. Please join the waitlist to get access.

GPT-4 is a large multimodal model (accepting text inputs and emitting text outputs today, with image inputs coming in the future) that can solve difficult problems with greater accuracy than any of our previous models, thanks to its broader general knowledge and advanced reasoning capabilities. Like gpt-3.5-turbo, GPT-4 is optimized for chat but works well for traditional completions tasks both using the Chat Completions API. Learn how to use GPT-4 in our GPT guide.

️Temperature

In the OpenAI API, temperature is a parameter that controls the randomness of the generated text. Its value is between 0 and 1, inclusive.

When the temperature is close to 1, the text generated by the model will be more random. In other words, when the model chooses the next word, it will make a more uniform selection among all possible words, even if the probabilities of some words are low. This may result in outputs that are more innovative, but it may also lead to reduced coherence and consistency in the outputs.

When the temperature is close to 0, the text generated by the model will be more deterministic. That is, the model will be more inclined to choose the word with the highest probability when selecting the next word. This may result in outputs that are more coherent and consistent, but they may lack innovation.

In summary, the temperature parameter can help you find a balance between innovation and coherence. If you want the generated t

Issues· 3 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

TypeScript

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言