一个支持 GPT-4 的免费 AI 助手,支持 GPT-4 的免费 AI 助手
ChatGPT
Keyless,Magic-free,Login-free,GPT-4,Multilingual
免Key,免魔法,免登录,GPT-4,多语言
無需Key,無需魔法,無需登入,GPT-4,多語言
English
Group number 【724138520】
Or join by scanning the QQ QR code
Install the extension from the VSCode Marketplace
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.
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."
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.
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.
Press the shortcut Ctrl+Shift+P(Command + Shift + P ), enter ChatGPT:Refresh API key ,You can then obtain a new API key!
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.
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.
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.
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.
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.
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.
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.
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.
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.
Users can configure the settings of VS Code plugins by following these steps:
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).
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.
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.
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.
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 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 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.
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,或尚未同步最近议题。