PROMPT OPENAI'S GPT-4, GPT-3.5, GPT-3 And CodeX Models Within Visual Studio Code
This Repository is Meat for Documentation, Bug Reports and Feature Requests
Testimonials
❄️ Featured by snowflake on Medium Blogpost
Include Chatgpt extensions in Blogpost vscode to find code reviews and bugs
? Reviews on Twitter
❤️Chatgpt the Pair Programmer - vs Code on YouTube
Generative AI on Linkedin
genieai.systemMessage
Setting to Customize your System Message.gpt-4o
, gpt-4o-2024-05-13
, gpt-4-turbo
, gpt-4-turbo-2024
, gpt-4-turbo-preview
, gpt-4-0125-preview
Generate Commit Messages Right Within vs Code:
You Can Update YOUR COMMIT MESSAGE Prompt from the Extension Settings.
Genie: Generate a commit message
COMMAND AND SHORTCUT SUPPPORTS MULTI-FOLKSPACES.
Update Your Generate Commit Message Prompt: genieai.promptPrefix.commit-message
Opt-Out of the Quick Fix Actions Settings is Added: genieai.quickFix.enable
Opt-Out of The Generate Commit Message Functionality: genieai.enableGenerateCommitMessage
All of Genie's Context Menu ITEMS ARE NOW WRAPPED UNDER Genie
SUBMENU
gpt-4-1106-preview
, gpt-4-0613
, gpt-4-32k-0613
, gpt-3.5-turbo-1106
, gpt-3.5-turbo-16k
, gpt-3.5-turbo-instruct
gpt-4-0314
, gpt-4-32k-0314
, gpt-3.5-turbo-0301
in Favor of the Replacement Models.You Can Now Use your Azure Openai Deployment with Genie
Set You Full Azure Openai Deployment Url in Setting: genieai.azure.url
Following The Instructions Mensioned in The Setting Description
Ensure to set the extenSion's model setting to the right base You used for azure deployment
You Don't Need to Update The genie.json
File to Update your Conversion's Name.
Ask Genie to Quick Fix THE PROBLEMS THAT YOU See in YOUR CODE
Click on the lightbulb on a code piece you you you see underlined error
genieai.enableConversationHistory
genie.json
File.Conversation History --Demo
Genie --Chatgpt Conversation History -Watch video
Get You API Key from here: Openai and Seee Openai Openai Offficial Docs for Available Model Details
IF YOU FACE ISSUES Regarding Your API Key, See Faq for Details on How to REENTER/CLEAR IT
THE EXTENSION COMES WITH CONTEXT MENU COMMANDS, Copy/Move Suggested Code Into Editor with One-Click, CONVERSATION WINDOMITION OP OP ENAI'S Chatgpt Prompts.
We Recently Introduced Genie to Problems
Window. Icon to ask Genie to Help You. The Credits for the IDEA GOES TO @CAHASELER; Genie-Companion Extension Visit This is Issue
Store Your Conversation History on Your Disk and Continue at Any Time.
Quick Fix the Problems in Your Code
Supports Azure Openai Service
? See Diff Between Your Code and Genie's Sugging Right within Editor with One Click.
Get Streaming Answers to your Prompt in Editor or SideBar ConverSation.
Customize What you asking with the selected code. The Extension Will Remember Your Prompt for Subsequent Questions.
Automatic Partial Code Response Detection. If Ai DeeSn't Finish Response, You Will Have The Option to Continue and Combine Answers
Copy or Insert The Chatgpt is Suggesting Right Into your editor.
? Optimized for dialogue
Edit and Resend a Previous Prompt
? Export All your Conversation History with One Click
AD-HOC Prompt Prefixes for You to Customize What you asking Chatgptt
You May Assign A Keyboard ShortCut to the Followings COMMANDS USING VS CODE'S BUILT-in Keybindings Menu.
Genie: Ad-hoc prompt
: AD-HOC Custom Prompt Profix for the Selected Code. Right Click on a Selected Block of Code, Run Command.Genie: Add tests
: Write Tests for You. Right Click on a Selected Block of Code, Run Command.Genie: Find bugs
: Analyze and Find Bugs in Your Code. Right Click on a Selected Block of Code, Run Command.Genie: Optimize
: ADD SUGGESTIONS TO YOUR CODE TO IMPROVE. Right click on a Selected Block of Code, Run Command.Genie: Explain
: Explain The Selected Code. Right Click on a Selected Block of Code, Run Command.Genie: Add comments
: Add Comments for the Selected Code. Right Click on a Selected Block of Code, Run Command.Genie: Custom prompt 1
: It's Disabled by Default, PLEASE SET TO A CUSTOM PROMPT and ITIT IFER USINGIMIZED romptGenie: Custom prompt 2
's Disabled by Default, PLEASE SET TO A CUSTOM PROMPT and IT IFER USINGIZED romptGenie: Generate code
A CODEX MODEL ( code-*
) You Will See this Option in You Context Menu. Y Context Like the Other Text Compression Prompts. Genie: Clear API Key
Clears The API Key from vs Code Secrets StorageGenie: Show conversations
: List of Conversations that Genie StoreD After Enabling Conversation History Setting.Genie: What's new
: See What is Recently Released.Genie: Start a new chat
: Start A New Chat with Ai.Genie: Ask anything
: Free-Form Text QueStions Within Conversation Window.Genie: Reset session
: Clears The Current Session and Resets Your Connection with ChatGptGenie: Clear conversation
Windows Window and Resets The Thread to Start A New Conversion with Chatgpt.Genie: Export conversation
: EXPORTS THE WHOLE CONVERSATION in Markdown for You to Easy Store And Find The Q & A List.Genie: Focus on Genie View
: Focuses On Genie Window IF It Was Hidden.Commands
on the Home Page to See All Commands Available. Change API Key
Genie: Clear API Key
the Home Page.It's Possible That Openai Systems May Experience Isseponding to Your Queries Due to High-Traffic from Time to Time.
If you get HTTP 429 Too Many Requests
, It Means That You are MAKING TOO MANY REQUESTS OR YOUR ACCOUNT DOESN'T HAVE ENOUGH CREDIT. Y Also Have Expired.
$OPENAI_API_KEY
insufficient_quota
Key That You Use in this Extension) curl https://api.openai.com/v1/completions
-H " Content-Type: application/json "
-H " Authorization: Bearer $OPENAI_API_KEY "
-d ' {
"model": "text-davinci-003",
"prompt": "Can I make a request?nn",
"temperature": 0.7,
"max_tokens": 256,
"top_p": 1,
"frequency_penalty": 0,
"presence_penalty": 0
} '
IF YOU GET HTTP 404 Not Found
Error, IE genieai.openai.model
). ULT MODEL in Your Settings model
FIS THISSUE.
IF YOU GET HTTP 400 Bad Request
Error, It Means That You Conversation is Length Is Than GPT/CodeX Models CAN Handle. Ent Via Customized Settings.
If you encounter person Persistent isSues with your queries
Genie: Reset session
to Clear Your Session/Conversation or Genie: Clear API Key
to Clear Your API Key and Re-EnterIf you are USING REMOTE Development and Cannot Use Chatgptt
settings.json
Add "remote.extensionKind": {"genieai.chatgpt-vscode": ["ui"]}