RepositoryTypeScriptUSHoa Kỳ
poloclub

poloclub/mememo

A JavaScript library that brings vector search and RAG to your browser!

167sao
12fork
0issue
1lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

2
TINIX TRENDING·Chủ đề: document-search

#2 Repository của tuần

2
TINIX TRENDING·Chủ đề: gen-ai

#2 Repository của tuần

2
TINIX TRENDING·Chủ đề: document-search

#2 Repository của tháng

🧠 MeMemo — Vector search và RAG chạy trực tiếp trên trình duyệt

Thư viện JavaScript biến trình duyệt thành công cụ tìm kiếm vector và RAG mà không cần server.

MeMemo là thư viện JavaScript do Jay Wang và Polo Chau phát triển, đưa kỹ thuật HNSW (Hierarchical Navigable Small World) — phương pháp approximate nearest neighbor search hàng đầu hiện nay — vào môi trường trình duyệt. Thư viện sử dụng IndexedDB và Web Workers để tận dụng phần cứng client, cho phép tìm kiếm qua hàng triệu vector nhiều chiều ngay trên trình duyệt mà không cần gọi API bên ngoài. Điều này mở ra khả năng xây dựng ứng dụng RAG riêng tư, cá nhân hóa nội dung và prototype tương tác hoàn toàn ở phía client.

✨ Điểm nổi bật

  • HNSW trên trình duyệt: Triển khai thuật toán HNSW tối ưu cho tìm kiếm vector nhanh trong browser.
  • IndexedDB + Web Workers: Lưu trữ và xử lý song song native, không phụ thuộc backend.
  • Tìm kiếm hàng triệu vector: Có thể index và query hàng triệu embedding nhiều chiều ngay trên client.
  • Hỗ trợ Node.js và browser: Chạy được cả hai môi trường, cài đặt qua npm install mememo.
  • API đơn giản: Chỉ cần bulkInsert để thêm dữ liệu và query để tìm k-nearest neighbors.
  • RAG Playground minh họa: Ví dụ ứng dụng với ML Paper Reviewer, Prompt Enhancer, Responsible AI Assistant.
  • Đã công bố nghiên cứu: Bài báo SIGIR'24 (arXiv:2407.01972) chứng minh hiệu năng on-device retrieval.
  • MIT License: Hoàn toàn mã nguồn mở, tự do sử dụng và sửa đổi.

💡 Vì sao đáng chú ý

Thông thường, RAG và vector search đòi hỏi server hoặc cloud infrastructure để xử lý. MeMemo đưa toàn bộ pipeline này về phía client, nghĩa là dữ liệu không cần rời khỏi trình duyệt — giải quyết vấn đề riêng tư và cá nhân hóa mà vẫn giữ hiệu năng cao nhờ HNSW và Web Workers. Với ví dụ RAG Playground cho thấy ba ứng dụng thực tế (reviewer paper, prompt enhancer, AI assistant có trách nhiệm), MeMemo chứng minh rằng tìm kiếm vector on-device không chỉ khả thi mà còn đủ mạnh cho các trường hợp sử dụng thực tế.


#VectorSearch #RAG #BrowserAI #HNSW #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryJavaScript
Mintplex-Labs/anything-llm

Stop renting your intelligence. Own it with AnythingLLM. Everything you need for a powerful local-first agent experience

68.9k
Nov 24, 2026
RepositoryPython
run-llama/llama_index

LlamaIndex is the document processing platform for AI

53.1k
Nov 26, 2026
RepositoryTypeScript
firecrawl/firecrawl

Firecrawl is the knowledge infrastructure to make your agents smarter. It connects your agents to the web, and to Alexandria, our library of everything else.

215.1k
Dec 2, 2026
RepositorySvelte
open-webui/open-webui

User-friendly AI Interface (Supports Ollama, OpenAI API, ...)

160.1k
Dec 2, 2026
RepositoryGo
milvus-io/milvus

Milvus is a high-performance, cloud-native vector database built for scalable vector ANN search

46.8k
Dec 1, 2026
RepositoryGo
weaviate/weaviate

Weaviate is an open-source vector database that stores both objects and vectors, allowing for the combination of vector search with structured filtering with the fault tolerance and scalability of a cloud-native database​.

17.0k
Dec 1, 2026
RepositoryPython
pathwaycom/serviette

A no-code RAG server that keeps answers in sync with your documents. Works with 8 vector databases. Built on Pathway.

58.7k
Nov 10, 2026
RepositoryPython
Significant-Gravitas/AutoGPT

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

188.2k
Nov 29, 2026
Modelsentence-similarity
sentence-transformers/all-MiniLM-L6-v2

all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...

♥0
157.6M
Jun 1, 2026