Skip to content

legertom/AIAnswerBot

Repository files navigation

AI Answer Bot Chrome Extension

AI Answer Bot is a Chrome Extension that uses the OpenAI API to answer questions based on the context of the current web page. It connects ChatGPT to any web page, making it easy to get quick answers without leaving the page you're browsing.

Installation

  1. Clone or download this repository to your local machine.
  2. Open the Chrome browser, and navigate to chrome://extensions/.
  3. Enable "Developer mode" by toggling the switch in the top right corner of the page.
  4. Click the "Load unpacked" button and select the folder containing the extension files you downloaded in step 1.

The extension should now be installed and visible in your Chrome toolbar.

Features

AI Answer Bot Chrome Extension offers the following features:

  1. Context-aware answers: The extension intelligently generates answers based on the context of the current web page, providing relevant and useful information.

  2. Seamless integration: AI Answer Bot integrates directly into your Chrome browser, allowing you to ask questions and receive answers without leaving the web page you're browsing.

  3. Easy-to-use interface: The extension features a simple and intuitive interface, making it easy for users to enter their questions and view the answers.

  4. Local storage of API key: The extension saves your OpenAI API key locally, so you only need to enter it once. This ensures a smooth user experience and quick access to the AI-powered answers.

  5. Powered by OpenAI: AI Answer Bot leverages the advanced capabilities of OpenAI's GPT models to provide accurate and relevant answers to your questions.

  6. Privacy-focused: The extension sends only the necessary data (your question and the web page context) to the OpenAI API, ensuring your privacy is respected while using the service.

  7. Customizable: As an open-source project, you can easily customize the extension to suit your specific needs or preferences.

Usage

  1. Click the AI Answer Bot extension icon in the Chrome toolbar to open the popup.
  2. If you haven't already, sign up for an API key from OpenAI by following the instructions in the OpenAI API documentation.
  3. Enter your OpenAI API key in the "API Key" field. The extension will save your API key locally, so you only need to enter it once.
  4. Enter your question in the "Enter your question" field, and click the "Ask" button.
  5. The extension will send your question along with the context of the current web page to the OpenAI API and display the answer in the "Response" textarea.

Troubleshooting

If you encounter any issues while using the extension, please check the following:

  1. Make sure your OpenAI API key is valid and has the necessary permissions.
  2. Check the Chrome developer console for any error messages by right-clicking on the extension icon, clicking "Inspect popup," and going to the "Console" tab.

If you still face issues, please open an issue in this GitHub repository with a detailed description of the problem and any error messages.

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published