This is a chat bot that uses ChatGpt api. After setting your ChatGpt api key, you can use the chat bot and ask what you want. To learn more please visit offical OpenAI.
In the future, we are planning to add settings panel. So, user is able to change settings.
This chat bot uses VSCode api. Your API KEY will be safely stored in your workspace. with new version v1.1.0 add new three commands to VSCode editor context menu with their keyboard shortcuts below.
- ChatGpt Add Comments(
ctrl+ alt + c
,shift + cmd + c
). Support all language. - ChatGpt Add Documentaions(
ctrl + alt + d
,shift + cmd + d
). Only support javaScript, TypeScript, Java and C#. - ChatGpt Refactor(
ctrl + alt + r
,shift + cmd + r
). Only support javaScript, TypeScript, Java and C#.
The result of these commands depent on ChatGpt "text-davinci-003" model.
ChatGpt Models:
- gpt-3.5-turbo used for chat.
- text-davinci-003 used for text complations.
Chat completions defaults;
- model : "gpt-3.5-turbo"
- temperature : 0.7
- stream: true
- messages: [{ role: "user", content: prompt }]
Text completions defaults;
- model : "text-davinci-003"
- max_tokens: 2048,
- temperature: 0.0,
- top_p: 0.1
Your VSCode version number has to be greater than or equal to 1.77.0 version. Install from VSCode Extensions panel or vscode-chat-gpt from VSCode Marketplace
Go to Settings > Extensions > vscode-chat-gpt
- v0.0.1 first relese with simple command and chat panel.
- v0.0.2 Add icon start button on VSCode Activity bar.
- V0.0.3 bugfix updates
- V1.0.0 Add Explorer View and show history of last 10 queries.
- V1.1.0 Add new three commands to VSCode editor context menu. These: ChatGpt Add Comments, ChatGpt Add Documentaions and ChatGpt Refactor.
- V1.1.1 Add conditions to context menu commands.
- V1.1.2 Add temperature settings to chat panel and add editor logo.
- Open chat panel.
- Set api key.
- Say hello!
- Wite a simple typescript code that find squareroot of a number.
- Click recent query in the history.
- Add comments.
- Add documentations.
- Add ChatGpt Create image model.
- Add ChatGpt Edit image model.
- Add ChatGpt Create image variation model.
I'm a full stack developer. I've been dealing with software since 2016. I worked on a lot of projects so far. My strongest skills are C#, .Net Core, MsSql, javaScript, TypeScript and Angular2+. Also, I am working on sample like this extension Nodejs, MongoDb projects.