Brazilbabycommando/entity-db
EntityDB is an in-browser vector database wrapping indexedDB and Transformers.js over WebAssembly
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#1 Repository của tháng
#1 Repository của tháng
#1 Repository của tháng
🧠 EntityDB — Cơ sở dữ liệu vector trong trình duyệt, không cần máy chủ
EntityDB kết hợp IndexedDB và Transformers.js để xây dựng hệ thống tìm kiếm vector nhanh chóng ngay trên trình duyệt.
EntityDB là một thư viện JavaScript nhẹ, chạy hoàn toàn trong trình duyệt, thiết kế để lưu trữ và truy vấn các vector nhúng (embedding). Nó tích hợp IndexedDB để lưu trữ bền vững và Transformers.js để sinh embedding từ văn bản bằng các mô hình Hugging Face, giúp bạn xây dựng hệ thống tìm kiếm đa giống nhanh chóng mà không cần backend.
✨ Điểm nổi bật
- Chạy trong trình duyệt: Dựa trên IndexedDB, không cần máy chủ hoặc cấu hình phứ tạp.
- Tích hợp Transformers.js: Tự động sinh embedding từ văn bản bằng mô hình Hugging Face.
- Tìm kiếm cosine similarity: Truy vấn dựa trên độ tương đồng cosine giữa các vector.
- Linh hoạt: Hỗ trợ cả sinh embedding tự động và chèn vector đã tính sẵn.
- Nhẹ và nhanh: Không phụ thuộc vào server, phù hợp cho ứng dụng AI memory, đề xuất, tìm kiếm.
- Vector nhị phân thử nghiệm: Tối ưu tốc độ bằng cách mã hóa vector thành dạng nhị phân và dùng Hamming distance.
- Hỗ trợ WebAssembly SIMD: Xử lý 128-bit/lần, tăng tốc đáng kể so với JavaScript thuần.
💡 Vì sao đáng chú ý
EntityDB khác biệt ở khả năng đóng gói toàn bộ quy trình từ sinh embedding, lưu trữ vector đến truy vấn đa giống chỉ trong trình duyệt. Điều này giúp giảm thiểu phụ thuộc vào backend, thích hợp cho các ứng dụng cá nhân hóa, AI memory hoặc demo prototype.
Với tính năng hỗ trợ vector nhị phân kết hợp WebAssembly SIMD, EntityDB hướng tới hiệu năng cực cao, lý tưởng cho kịch bản tìm kiếm quy mô lớn hoặc yêu cầu thời gian thực trong môi trường client-side.
#VectorDatabase #IndexedDB #TransformersJS #WebAssembly #AI #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.
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...
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.
Stop renting your intelligence. Own it with AnythingLLM. Everything you need for a powerful local-first agent experience
LangChain4j is an idiomatic, open-source Java library for building LLM-powered applications on the JVM. It offers a unified API over popular LLM providers and vector stores, and makes implementing tool calling (including MCP support), agents and RAG easy. It integrates seamlessly with enterprise Java frameworks like Quarkus and Spring Boot.
Enterprise-grade (40m+ LOC) codebase intelligence, zero-setup, local & private Plugin/Skill/Extension or MCP: hybrid semantic search, polyglot dependency graphs, symbol-level impact analysis & call-flow, interactive HTML viewer, cross-project & branch-aware search, DB/API/infra knowledge. 61% less tokens, 84% fewer calls, 37x faster. Cloud in beta.
The Virtual Feature Store. Turn your existing data infrastructure into a feature store.
Lightweight key-value storage library for Browser, Node.js, and In-Memory.