awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
asg017 avatar

asg017/sqlite-vec

0
View on GitHub↗
6,961 星标·282 分支·C·apache-2.0·7 次浏览

Sqlite Vec

sqlite-vec is a C-based vector library and SQLite extension that adds virtual tables for storing and querying high-dimensional embeddings. It functions as a database plugin for performing nearest neighbor searches using distance metrics such as L2, cosine, and Hamming distance.

The project provides a portable embedding store that supports deployment across Android, iOS, desktop environments, and web browsers via WebAssembly. It distinguishes itself by converting numerical arrays into compact binary formats and utilizing quantization to reduce the memory footprint and storage size of vector indexes.

The library covers a broad range of vector operations, including similarity querying, vector arithmetic, and data transformation. It also includes capabilities for metadata filtering, key-based index sharding, and the attachment of auxiliary data to vector records.

The extension can be integrated into projects using C, C++, Go, Ruby, and Rust, and it is compatible with Datasette and distributed SQLite environments.

Features

  • Vector Database Integrations - Integrates high-dimensional embedding storage and similarity search capabilities directly into SQLite.
  • Vector Similarity Search - The vector search extension identifies the most similar vectors to a target query using distance metrics and optimized scans.
  • Vector Storage - Transforms numerical lists into compact binary formats for efficient storage and retrieval.
  • Mobile Vector Storage - The vector search extension provides pre-compiled libraries to enable high-dimensional vector search on Android and iOS hardware.
  • Virtual Table Implementations - The vector search extension saves numeric vectors in virtual tables to enable efficient similarity searches.
  • Semantic Search - Implements semantic search by finding the most similar data based on mathematical distance.
  • SQLite Extensions - Functions as a SQLite extension that adds virtual tables for storing and querying high-dimensional embeddings.
  • Native Extension Loading - Implements a mechanism to dynamically load native C search logic as an extension into the database process.
  • Vector Database Extensions - Converts numerical arrays into a compact binary format optimized for integration within the database.
  • Quantization - The vector search extension compresses floating point elements into smaller data types to lower the memory footprint of vector indexes.
  • Vector Quantization - Maps floating-point vector elements into smaller data types to reduce the memory footprint of vector indexes.
  • Vector Data Conversion - The vector search extension transforms binary blobs or text into specialized numeric formats for efficient storage.
  • Virtual Tables - Implements vector data storage as a virtual table within SQLite to manage embeddings as binary blobs.
  • C Libraries - Ships as a low-level C library for converting, quantizing, and storing numerical vectors.
  • Distance Metrics - Computes similarity using L2, cosine, and Hamming distance metrics to rank and retrieve nearest neighbors.
  • Local On-Device AI - Enables the building of AI-powered tools that perform vector search on-device or in the browser.
  • Binary Serialization - Provides tools for converting high-dimensional numerical arrays into compact binary formats for database storage.
  • Cross-Platform Embedding Stores - Provides a portable storage solution for vector embeddings across Android, iOS, and desktop environments.
  • Extensibility Plugins - The vector search extension can be added to database projects as a dedicated plugin to enable similarity search functionality.
  • Go Database Bindings - The vector search extension provides language-specific bindings and binary drivers to embed vector search capabilities within Go applications.
  • Payload Storage - The vector search extension attaches large payloads to vector records for retrieval without performing separate database joins.
  • Metadata Filtering - The vector search extension applies constraints to queries using indexed columns to narrow results based on specific metadata.
  • Ruby Database Bindings - The vector search extension provides bindings for Ruby to store and query high-dimensional embeddings within database connections.
  • Rust Database Bindings - The vector search extension allows Rust projects to link search capabilities during the build process for native database vector operations.
  • Index Sharding - The vector search extension groups vectors by specific key values to restrict searches to a subset of data.
  • Memory-Optimized Storage - Reduces the memory footprint and storage size of embeddings using quantization and compact binary formats.
  • Normalization and Truncation - The vector search extension slices vectors to specific dimensions and normalizes the result for embedding support.
  • Vector Arithmetic - The vector search extension computes the sum, difference, or mean of vectors to derive new coordinates from existing data.
  • Wasm Search Modules - Provides a compiled WebAssembly module that enables vector storage and similarity search in the browser.
  • WebAssembly Compilation - Compiles core search logic into WebAssembly to enable vector operations directly within web browsers.
  • WebAssembly Frameworks - The vector search extension can be compiled into WebAssembly to run vector search capabilities directly within a web browser.
  • Retrieval Augmented Generation - Vector search extension for SQLite databases.
  • Vector Databases - Lightweight vector search extension for SQLite databases.

Star 历史

asg017/sqlite-vec 的 Star 历史图表asg017/sqlite-vec 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Sqlite Vec 的开源替代方案

相似的开源项目,按与 Sqlite Vec 的功能重合度排序。
  • semi-technologies/weaviatesemi-technologies 的头像

    semi-technologies/weaviate

    16,337在 GitHub 上查看↗

    Weaviate is a cloud-native vector database and distributed vector store designed to save high-dimensional vectors alongside structured data. It functions as a hybrid search engine that combines vector similarity, keyword matching, and structured metadata filtering within a single query. The system is optimized for retrieval-augmented generation, integrating vector search with generative AI and reranking to power question-and-answer workflows. It distinguishes itself through the ability to merge semantic search with traditional keyword queries and structured metadata filters to improve result

    Go
    在 GitHub 上查看↗16,337
  • openai/chatgpt-retrieval-pluginopenai 的头像

    openai/chatgpt-retrieval-plugin

    21,192在 GitHub 上查看↗

    This project is a retrieval-augmented generation pipeline designed for building custom ChatGPT plugins that allow language models to query private or professional documents. It implements a full retrieval workflow, from processing and indexing document chunks to retrieving relevant context for natural language queries. The system distinguishes itself through a hybrid retrieval approach that combines dense vector embeddings with sparse keyword matching, further refined by a two-stage semantic re-ranking process. It includes specialized data privacy tools for screening personally identifiable i

    Pythonchatgptchatgpt-plugins
    在 GitHub 上查看↗21,192
  • lancedb/lancedblancedb 的头像

    lancedb/lancedb

    9,031在 GitHub 上查看↗

    LanceDB is a vector database and columnar data store designed to function as a versioned dataset manager and vector search engine. It serves as a high-performance backend for indexing and retrieving high-dimensional embeddings, providing the foundation for machine learning data pipelines. The system distinguishes itself through a combination of cloud-native object storage and immutable version tracking, allowing for data time-travel and reproducible AI experiments. It integrates hybrid search capabilities, merging dense vector similarity with BM25 full-text search and SQL-like scalar filters

    HTMLapproximate-nearest-neighbor-searchimage-searchnearest-neighbor-search
    在 GitHub 上查看↗9,031
  • tensorchord/pgvecto.rstensorchord 的头像

    tensorchord/pgvecto.rs

    2,175在 GitHub 上查看↗

    pgvecto.rs is a database extension that integrates high-dimensional vector search capabilities directly into PostgreSQL. It functions as a specialized engine for storing and retrieving embeddings, allowing relational databases to perform similarity searches alongside traditional structured data queries. The extension distinguishes itself through hardware-aware execution strategies that maximize performance. It performs runtime analysis of the host machine to utilize specific processor instruction sets for accelerated mathematical operations. To manage memory efficiently, it employs quantizati

    Rustchatgptfaissgpt
    在 GitHub 上查看↗2,175
查看 Sqlite Vec 的所有 30 个替代方案→

常见问题解答

asg017/sqlite-vec 是做什么的?

sqlite-vec is a C-based vector library and SQLite extension that adds virtual tables for storing and querying high-dimensional embeddings. It functions as a database plugin for performing nearest neighbor searches using distance metrics such as L2, cosine, and Hamming distance.

asg017/sqlite-vec 的主要功能有哪些?

asg017/sqlite-vec 的主要功能包括:Vector Database Integrations, Vector Similarity Search, Vector Storage, Mobile Vector Storage, Virtual Table Implementations, Semantic Search, SQLite Extensions, Native Extension Loading。

asg017/sqlite-vec 有哪些开源替代品?

asg017/sqlite-vec 的开源替代品包括: semi-technologies/weaviate — Weaviate is a cloud-native vector database and distributed vector store designed to save high-dimensional vectors… openai/chatgpt-retrieval-plugin — This project is a retrieval-augmented generation pipeline designed for building custom ChatGPT plugins that allow… lancedb/lancedb — LanceDB is a vector database and columnar data store designed to function as a versioned dataset manager and vector… tensorchord/pgvecto.rs — pgvecto.rs is a database extension that integrates high-dimensional vector search capabilities directly into… pgvector/pgvector — Vector similarity search extension for PostgreSQL. activeloopai/deeplake — DeepLake is AI data infrastructure consisting of a multimodal data lake, a hybrid search engine, and a serverless…