GitHub Park

AI answer assistant: a practical browser extension

Today I’d like to introduce a practical browser extension — the AI Answer Assistant. It can automatically identify various types of questions on webpages, obtain answers with the help of large AI models, and complete filling them in. It supports multiple question-answering scenarios and is simple and efficient to operate.

Core Features of the Extension

1. Intelligent Recognition of Multiple Question Types

The extension automatically scans webpages and accurately identifies single-choice, multiple-choice, and fill-in-the-blank questions. Whether it’s single-choice questions with radio buttons, multiple-choice questions with checkboxes, or fill-in-the-blank questions with text input fields, it can quickly capture them without manually filtering question types.

2. AI-Driven Auto Answering

Integrated with large AI model capabilities, it automatically calls the model to analyze and retrieve correct answers after identifying questions. It then automatically selects answers for choice-based questions or fills in content for blank questions, requiring no manual intervention throughout the process and saving answering time.

3. Flexible and Diverse Model Configuration

Supports custom AI models—not only OpenAI's official API but also all third-party API services compatible with the OpenAI format. You can choose models better suited to specific scenarios to improve answer accuracy.

4. Question Template for Faster Recognition

Includes built-in DOM structure templates for common question-answering websites. Currently, it supports "Questionnaire Star" (Wenjuanxing) and "Tencent Questionnaire", enabling near-instant question scanning for such sites without requiring AI analysis each time, significantly boosting recognition efficiency. More website templates are continuously being added.

Installation Method (Developer Mode)

  1. Open the Chrome browser, enter chrome://extensions/ in the address bar, and press Enter to access the Extensions management page.
  2. Locate the "Developer mode" toggle in the upper-right corner of the page and turn it on.
  3. Click the "Load unpacked" button on the page.
  4. In the file selection window that pops up, select the ai-answer-assistant extension folder to complete the installation.

How to Use

  1. Open a webpage containing questions (e.g., Questionnaire Star, Tencent Questionnaire, or other question-answering pages).
  2. Click the extension icon in the upper-right corner of the browser to open the extension control panel.
  3. Click the "Scan Questions" button—the extension will automatically identify the questions on the webpage and display the number identified.
  4. Click "Start Answering"—the extension will automatically retrieve and fill in the answers. If you need to pause during the process, you can click the "Stop" button at any time.

Frequently Asked Questions

Q: Why are no questions being scanned?

A: It may be because the website’s question structure is relatively unique and the extension cannot currently adapt to it. Try refreshing the page and scanning again. If it still fails to recognize questions, wait for updates to the site templates in future versions.

Q: What if the AI provides incorrect answers?

A: AI answers are generated based on the large model’s understanding and may contain occasional errors. You can switch to a more powerful custom AI model or manually verify the answers for important questions.

Usage Notes

  1. Website Compatibility: Different websites may have varying question layouts and structures, and some sites with unique structures may not be recognized correctly.
  2. Usage Responsibility: Please use this extension in compliance with relevant platform rules and laws and regulations. Do not use it for prohibited activities such as cheating.
Visit rehuan/AI-ANSWER-ASSISTANT to access the source code and obtain more information.