Welcome to the Ask GPT repository! This is a VSCode extension that enables you to ask ChatGPT questions right from your editor. With the help of OpenAI's language model, you can get answers to your queries on the fly.
To use this extension, you need to have Visual Studio Code (VSCode) installed on your system. Once you have VSCode, follow these simple steps to install Ask GPT:
Go to the Ask GPT VSCode Extension page and click on "Install" from the VSCode marketplace.
Before you can use Ask GPT, you need to set up your OpenAI API key. Here's how you can do it:
- Copy your API key from OpenAI's API Keys page.
- In VSCode, press
command + shift + p
(Mac) orctrl + shift + p
(Windows) to open the command palette. - Search for "Set OpenAI API Key" and select it.
- Paste your API key in the input box and hit enter.
That's it! Your API key is now set up and you can start using Ask GPT.
To ask a question using Ask GPT, follow these simple steps:
- In VSCode, press
command + shift + p
(Mac) orctrl + shift + p
(Windows) to open the command palette. - Search for "Ask GPT" and select it.
- Type your question in the input box and hit enter.
That's it! Ask GPT will generate an answer to your question using OpenAI's gpt-3.5-turbo language model and display it in the side panel.
If you want to contribute to this project, feel free to open an issue or submit a pull request on GitHub.
This extension is licensed under the MIT License. See the LICENSE file for more details.
This readme was generated by ChatGPT with some guidance and modifications.