/ask-gpt-vscode

A vscode extension to ask ChatGPT questions on the fly

Primary LanguageJavaScriptMIT LicenseMIT

Ask GPT - A VSCode Extension to Ask ChatGPT Questions on the Fly

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.

Installation

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.

Setup

Before you can use Ask GPT, you need to set up your OpenAI API key. Here's how you can do it:

  1. Copy your API key from OpenAI's API Keys page.
  2. In VSCode, press command + shift + p (Mac) or ctrl + shift + p (Windows) to open the command palette.
  3. Search for "Set OpenAI API Key" and select it.
  4. 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.

Usage

To ask a question using Ask GPT, follow these simple steps:

  1. In VSCode, press command + shift + p (Mac) or ctrl + shift + p (Windows) to open the command palette.
  2. Search for "Ask GPT" and select it.
  3. 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.

Contributing

If you want to contribute to this project, feel free to open an issue or submit a pull request on GitHub.

License

This extension is licensed under the MIT License. See the LICENSE file for more details.

Acknowledgements

This readme was generated by ChatGPT with some guidance and modifications.