Yidiantong – AI Assistant
Extension Actions
- Live on Store
AI assistant extension providing translation, analysis, and beautification for selected content
一、Introduction
> The original intention for creating this browser extension was based on problems encountered in daily work.
For example, have you ever been reading an article and suddenly encountered content you don't understand, requiring you to open another webpage to search on Baidu or ask DeepSeek? I hope you can simply right-click to see the corresponding results without needing to open another webpage.
Yidian Tong is a powerful browser extension that integrates multiple AI models (supporting DeepSeek, OpenAI, Claude, Gemini, and Ollama integration), providing translation, analysis, and beautification functions for selected text.
二、Installation & Configuration
1. Extension Installation
Google Chrome Web Store:
Search for "Yidian Tong AI Assistant".
Manual Download Installation:
- Open the extension management page in Chrome browser
- Enable "Developer mode"
- Click "Load unpacked extension"
- Select the yidiantong folder to complete installation
2. Basic Configuration
1)Click the Yidian Tong icon in the browser toolbar
2)Select "Settings" to enter the configuration page
3)Configure the following information:
- **Model Type**: Select the AI model to use
- **API Key**: Enter the API key for the corresponding model
- **API Base URL**: Enter the API service address
- **Model Name**: Enter the specific model name to use
3. Model Configuration Examples
DeepSeek Configuration
- Model Type: DeepSeek
- API Key: Your DeepSeek API key
- API Base URL: https://api.deepseek.com
- Model Name: deepseek-chat
OpenAI Configuration
- Model Type: OpenAI
- API Key: Your OpenAI API key
- API Base URL: https://api.openai.com/v1
- Model Name: gpt-3.5-turbo
Ollama Configuration
- Model Type: Ollama
- API Key: Not required
- API Base URL: http://localhost:11434
- Model Name: llama2
三、Function Usage
1. Right-click Menu Usage
1)Select text on any webpage
2)Right-click the selected text
3)Choose function from the context menu:
- **Translate Selection**: Intelligent translation (Chinese-English bidirectional)
- **Analyze Selection**: Analyze text content
- **Beautify Selection**: Optimize text readability
2. Popup Window Usage
1)Click the Yidian Tong icon in the browser toolbar
2)In the popup window:
- View current configuration status
- Quickly perform translation, analysis, and beautification operations
- Open settings page
3. Prompt Configuration
In the "Prompt Configuration" section of the settings page, you can customize prompts for each function:
- **Translation Prompt**: Control translation format and requirements
- **Analysis Prompt**: Define analysis depth and scope
- **Beautification Prompt**: Set beautification standards and style
**Note**: Prompts must contain `{{text}}` as a placeholder for the selected text.