/openai-browser-chat

This browser extension allows users to engage in natural language conversations with OpenAI's powerful language models.

Primary LanguageJavaScriptMIT LicenseMIT

OpenAI Browser Chat Extension

This browser extension allows users to engage in natural language conversations with OpenAI's powerful language models. The extension features a chat interface where users can input prompts and receive real-time responses, leveraging OpenAI's API to generate contextually relevant and engaging text.

Designed for ease of use and extensive customization, users can enter their OpenAI API key and select their preferred language model and parameters. This enables them to tailor the conversational experience to their specific needs and use cases.

Usage

  1. Before you begin, ensure that you have purchased a subscription to OpenAI's API and generated an API key.
  2. Download the zip file of this repository and extract it to a location on your file system.
  3. Follow the installation steps for your specific browser as mentioned here.
  4. Open the active extensions list from the top right-hand side of your browser, find the OpenAI Browser Chat extension, and pin it. You should now be able to see the extension icon in the top bar.
  5. Click the icon to open the chat window. If you haven't already submitted your API key, you must first go to the Settings tab, enter your API key, and click Save. Keep in mind that the API key will be saved only in your browser storage and used for authenticating requests to OpenAI's API.
  6. While in the Settings tab, you can also modify the default instruction, which is set to "Fix the spelling mistakes", to suit your needs. This will serve as the primary context for your conversation, and you can change it at any time.
  7. Once you return to the Chat tab, you may now start a conversation.

Screenshots

chat-settings chat

Inspired by

Contributing

If you would like to contribute, please feel free to fork the repository and submit a pull request.

License

This repository is licensed under the MIT license. See the LICENSE file for more details.