Chrome/Edge Extension Local RAG SERP Analysis

Yali AI Browser Extension

Local Knowledge Base Assistant

Designed for Yali AI Article Writer - Browser-side private knowledge base with vector search + AI generation. Supports multi-format imports like PDF and web pages, unlimited capacity, data stays local, enabling AI to create professional content based on your materials. Supports multi-format imports like PDF and web pages, unlimited capacity, data stays local, enabling AI to create professional content based on your materials.

Knowledge Base Search Demo
Live
|
📚 Local Knowledge Base 156 documents - 45.2MB

Collaboration Workflow with Plugin

Extension acts as local knowledge base node, passively receives tasks and returns results

1. Plugin Creates Task

Writing plugin automatically generates knowledge search or web scraping tasks

2. Extension Executes Locally

Extension automatically detects tasks and completes search or scraping locally

3. Return Results

Extension returns search results or scraped content to plugin for content creation

Knowledge Search

Knowledge Base Based Creation

When generating articles, the plugin automatically calls the extension to search the local knowledge base, and AI generates reference materials based on search results.

Extension executes hybrid search → AI generates reference answers → Plugin uses for article creation
Web Scraping

Reference Content for Rewriting

When the plugin needs reference web content, the extension automatically scrapes and extracts the main content for article rewriting.

Extension visits target webpage → Intelligently extracts content → Returns structured content

Lightweight Architecture:The extension acts as a completely independent local knowledge base node, communicating with the plugin only via REST API. All data is stored locally in the browser without consuming any WordPress server resources.

Eight Core Capabilities

Lightweight local knowledge base, high-performance search, large capacity storage support

Local Vector Knowledge Base

Pure browser-side implementation, all data stored locally. No server resources consumed, supports large-capacity knowledge storage, handling several GB without pressure.

High-Performance Hybrid Search

Semantic vector + keyword full-text dual search with millisecond response. Multi-core parallel acceleration, delivering results in seconds even with large-scale knowledge bases.

Intelligent Document Processing

Supports common formats like PDF, Word, Excel, Markdown. Intelligent segmentation indexing, automatically stitching complete context during search for precise recall.

Query Expansion & RAG

AI automatically expands query terms, deeply mining relevant knowledge. Generates answers based on search results with cited sources, providing evidence-based content creation.

Intelligent Web Extraction

One-click save current webpage, automatically extracts main content, filters ads. Supports dynamically rendered pages, outputs Markdown format for easy subsequent use.

Competitor Analysis Assistant

Analyzes keyword search results, uncovers real user questions, extracts competitor article structures. AI generates content outlines to help create content that AI generates content outlines to help create content that surpasses competitors.

Batch Bookmark Import

One-click import Chrome bookmarks, batch scrape saved web pages. Quickly transform years of bookmarks into a usable knowledge base.

100% Local Privacy

All data stored locally in browser, never uploaded to cloud. Sensitive materials fully under your control with enterprise-grade privacy security.

Get Started in 3 Simple Steps

Generate Key → Install & Connect → Collaborate

1

Generate API Key in WordPress Backend

First ensure your Yali AI Article Writer plugin is activated and authorized, then go to backend to generate the API Key for extension connection.

Operation Path:
  1. Login to WordPress backend
  2. Yali AI Writer → Extension Connection
  3. Generate API Key
  4. ⚠️ Copy Now Display 32-digit key (shown only once!)
Authorization Requirement:Generating API Key requires the plugin to be in authorized status. If not authorized, please complete authorization activation first.
2

Install Extension and Establish Connection

Download extension ZIP package and load it into Chrome/Edge browser, use the copied API Key to establish a secure connection.

Connection Steps:
  1. Download Extension ZIP and extract
  2. Open Chrome/Edge extension management page (chrome://extensions/)
  3. Enable "Developer Mode" and click "Load unpacked extension"."
  4. Select the extracted dist folder
  5. Open extension sidebar, fill in:
    Site URL: Your website domain
    API Key: The key you just copied
  6. Connect & Sync
Tip:Site URL should be your website homepage URL (e.g.:https://www.yaliai.com/en
Connection Verification:In WordPress backend"Extension Connection"page, click"Initiate connection verification request"button to test if extension is successfully connected.
3

Build Knowledge Base and Collaborate

Create local knowledge base, save documents or web content, collaborate with Yali AI Article Writer plugin to create professional content.

Collaboration Workflow:
  1. Create knowledge base in extension (file type or web scraping)
  2. Upload PDF/DOCX documents, or one-click save current webpage
  3. Extension automatically extracts content and builds vector and full-text indexes
  4. When generating articles in plugin, enable"Local Knowledge Base Search"feature
  5. Extension automatically receives tasks, executes RAG search and returns AI-generated reference materials
  6. Plugin generates professional articles based on reference materials returned by extension
💡 Tip.Keeping the extension sidebar open ensures timely task response. The extension polls pending tasks every 5 seconds.

Technical Architecture

Local-first architecture based on modern Web technologies

Local Storage Layer
IndexedDB Document/Index Storage
EdgeVec Vector Database
localStorage Config Storage
chrome.storage Background Sync
Intelligent Search Layer
Vector Search EdgeVec WASM
Full-text Search Lunr.js + BM25
Hybrid Ranking Weight Fusion
Web Workers Parallel Acceleration
AI Capability Layer
Query Expansion Query Expansion
RAG Generation RAG
Embedding Model WordPress Proxy
LLM WordPress Proxy
Feature Module Layer
Knowledge Base Management CRUD
Intelligent Search Search/Q&A
Web Extraction Readability
SERP analysis Competitor Analysis
Communication Layer
REST API WordPress
Task Polling 5s/30s
Background Service Worker
Side Panel Chrome API

Download Yali AI Browser Extension

Local Vector Knowledge Base + Hybrid Search + RAG Enhanced Generation
100% Local Storage - Privacy Security - Seamless Collaboration with Yali AI Writer Plugin

Compatible with Chrome 88+ / Edge 88+ / Other Chromium-based browsers