pg_clickhouse 0.11.1: Now with pgvector, UPDATE, DELETE pushdown
pg_clickhouse 0.11.1 maps pgvector's vector type to ClickHouse Array(Float32/Float64) columns.
pg_clickhouse 0.11.1 maps pgvector's vector type to ClickHouse Array(Float32/Float64) columns.
Loom is an open-source agent memory system that stores memories alongside a code index (functions, classes, call graph) in a single ClickHouse database, so facts about code are linked to definitions and flagged when that code is renamed or rewritten.
Agent retrieval fails in three ways: inefficient searching, too much context at once, and irrelevant or stale context.
Maximum inner product search can be amortized by training small neural networks offline on a known query distribution, exploiting the fact that the max-inner-product function is the convex support function of the key set, whose gradient is the best-matching key.
Neon's docs search now runs entirely on its own stack: Lakebase Postgres with the lakebase_vector (pgvector-compatible ANN) and lakebase_text (BM25) extensions, a Hono API on Neon Functions, and Neon AI Gateway for embeddings and reranking.
ChatGPT's ad stack replaces the event-driven request/response ads pipeline with stateful ads sessions that track evolving intent across turns and conversations, orchestrated by a post-trained LLM that calls tools for query rewriting, ANN retrieval over multiple embedding indices, eligibility filtering (budget, pacing, targeting, policy, dedup), relevance and engagement scoring, and a separate auction tool that handles pricing and final selection.
Shopify groups listings of the same product across millions of stores under a global Universal Product Identifier using a three-stage pipeline: embedding-based approximate nearest-neighbor retrieval to find candidate pairs, tiered pair scorers, and graph clustering.
LLM APIs are stateless, so conversational memory must be built in the application layer, and the right design depends on scale.
Zalando's Supply Operations automates mapping of diverse supplier spreadsheet headers (10-60 columns) onto a 55+ column internal schema using an LLM-driven RAG flywheel that learns from human-approved mappings.
Atlas is a TanStack Start app on Vercel that stores private photos in Neon Object Storage, metadata and vectors in Lakebase Postgres, identity in Managed Better Auth, and ranks CLIP embeddings with the Lakebase Search `lakebase_ann` index.
Neon AI Gateway now serves embedding models on its OpenAI-compatible /v1/embeddings endpoint using the same branch-scoped credential as chat, accepting up to 150 inputs per request.
Lakebase Search adds vector and BM25 search to Lakebase Postgres through two extensions, lakebase_vector and lakebase_text, so agents can query operational data without a separate search system. lakebase_vector keeps its durable index in object storage, caches hot pages in NVMe and RAM, and combines hierarchical IVF with RaBitQ quantization.
Video AI workflows should hand a model the smallest piece of video that still contains the answer: frames for single-instant questions, shots (continuous takes between cuts) for visual change, scenes (grouped shots with narrative meaning) for complete sections, and moments and chapters for viewer-facing excerpts and navigation.
Pinterest is evolving Manas, its in-house distributed search platform serving billions of embeddings across 80+ clusters, along three fronts: quantization, SSD-based ANN serving, and multi-embedding retrieval.
Google's MCP Toolbox for Databases can declare a Gemini embedding model in YAML and mark tool parameters as `embeddedBy`, so agents send plain text and Toolbox embeds it and binds the vector into ClickHouse SQL for ingestion and cosine-distance search.
NeoMME is a family of 260M and 800M multilingual multimodal encoders that feed text tokens and raw 32×32 image patches through a single bidirectional Transformer, trained from scratch with a masked discrete-diffusion text objective instead of reusing a vision tower or causal LM.
Papers with Code search combines PostgreSQL full-text search with pgvector semantic search over Qwen3-Embedding-0.6B vectors, fused by weighted reciprocal rank fusion (k=60), with exact-title, arXiv-ID and navigational matches pinned on top.
Sentence Transformers v6.0 adds MultiVectorEncoder, a fourth model type for ColBERT-style late-interaction retrieval that loads PyLate, Stanford-NLP ColBERT and (with added config) colpali-engine checkpoints.
Booking.com replaced its OpenSearch-backed internal Embedding Service with Weaviate after running its own production-shaped benchmark instead of trusting public comparisons.
ClickHouse 26.7 ships 61 features, 112 performance optimizations and 329 bug fixes, led by a fused ordered-aggregation pipeline that pushes LIMIT into in-order GROUP BY.
CommSync, a unified SMS/email inbox, runs keyword, semantic and hybrid search entirely in Postgres using Neon's Lakebase Search extensions. lakebase_text provides BM25 search with top-K pushdown over tsvector, and lakebase_vector is a pgvector-compatible drop-in with an ANN index.
Giving each AI agent its own SQLite-style database, instead of sharing tables keyed by tenant_id or using schema-per-tenant, makes isolation, debugging and cleanup trivial: deleting an agent is a single API call.
Turso's SQLite-compatible engine with native vector columns, paired with Voyage AI embedding and reranking models, replaces a multi-service RAG stack with a single embeddable database for agent retrieval and memory.
Embedding chDB, the in-process ClickHouse engine, inside an agent keeps hot data local, so tool-call latency is bounded by CPU instead of network round trips, jitter and retries.
Neon's Lakebase Search adds two Postgres extensions, lakebase_vector (IVF partitioning plus RaBitQ quantization, pgvector-compatible) and lakebase_text (a BM25-native index with Block-Max WAND top-K pushdown), designed for Neon's separated compute and object-storage tiers.
Shopify's Catalog groups billions of merchant product listings under Universal Product Identifiers (UPIs) using a precision-first pipeline.
Yelp replaced a menu-tree and fixed-phrase customer support chatbot with an LLM system.
SilverTorch replaces Meta's microservice-based recommendation retrieval with "Index as Model": the item index, eligibility filter, ANN search, neural reranker and multi-task scorer all become tensors or nn.Modules inside a single PyTorch model served on GPUs in one forward pass.
Facebook Groups scoped search moved from keyword-only retrieval to a hybrid design that runs lexical and semantic retrieval in parallel.
TurboQuant is a data-oblivious vector quantization algorithm that removes the per-block quantization-constant overhead of traditional methods by combining PolarQuant (random rotation plus recursive polar-coordinate transforms with a fixed angle grid) and a 1-bit Quantized Johnson-Lindenstrauss residual stage that removes bias in inner-product estimates.
Codemogger is an open-source code indexer and search engine for AI agents, built on a single local Turso (SQLite-compatible) file using native vector columns and full-text search.
A recursive deep research agent built on Neon Postgres with pgvector, Inngest durable endpoints, Claude, Exa search and OpenAI embeddings.
Memelord, a per-project agent memory system built on Turso, plugs into OpenClaw through mcporter.
Memelord is a fully local memory system for coding agents that keeps a per-project SQLite database (via Turso) of corrections, insights and user-requested memories, embedded with all-MiniLM-L6-v2 and retrieved by cosine vector search at task start.
SurrealDB is a Rust-built multi-model database that unifies document, graph, relational, time-series, geospatial, key-value and vector data in one engine queried with SurrealQL, with storage separated from compute so each can scale independently.
A reference RAG architecture on Heroku pairs pgvector cosine-similarity search (top 20 chunks) with a cross-encoder reranker (Cohere Rerank 3.5, top 5), so answers come from documents that actually address the query rather than ones that are merely semantically close.
ClickHouse shipped 12 releases in 2025 with 277 new features, 319 performance optimizations and 1,051 bug fixes.
Running pgvector well depends on hosting that allows extension and configuration control, migrations wired into the deploy pipeline, and the right index choice.
Docker Model Runner can serve embedding models locally, so semantic search and RAG pipelines run without sending private data to a hosted API and without per-call costs.
Supabase Vector Buckets are a new Storage bucket type that keeps embeddings in S3-backed object storage with built-in k-NN similarity search, supporting up to 50M vectors per index, cosine distance and metadata filtering.
Vinted added embedding-based dense retrieval to its multilingual, highly visual marketplace search using a two-tower model: a fine-tuned projection head on frozen multilingual CLIP for queries, and an item tower fusing CLIP image embeddings with categorical metadata, trained contrastively on 100M+ pairs.
ClickHouse 25.10 focuses on JOIN performance, adding lazy columns replication (an index column pointing at the original data instead of copying duplicated values), runtime Bloom filters built from the right-side join keys and applied as PREWHERE on the left side for parallel hash joins, push-down of OR conditions that reference both join sides, and automatic column statistics via auto_statistics_types to feed join reordering.
Turso 0.3.0 adds a compact sparse vector representation (vector32_sparse) that uses 5–50x less storage than dense vectors, plus an inverted index for nearest-neighbor search by weighted Jaccard distance.
QBit is a new ClickHouse column type that stores BFloat16, Float32 or Float64 vectors as transposed bit planes, each held in a FixedString subcolumn.
OLX compared open-source multilingual text embedding models against its in-house Item2vec model for similar-item recommendations by building an offline evaluation dataset from user interaction pairs, weighting favorites and chat replies above clicks and favoring recent activity.
OLX replaced a growing chain of fallback keyword-search extensions with hybrid retrieval: SOLR BM25 keyword matches plus a fixed allocation of vector-search results (embeddings from off-the-shelf mCLIP and multilingual-e5-small), capped at 1,000 ads and re-ranked by an XGBoost learning-to-rank model.
EmbeddingGemma is Google's 308M-parameter multilingual text embedding model.
A RAG stack on Heroku pairs LlamaIndex for ingestion, indexing and retrieval with Heroku Managed Inference (Claude 4 Sonnet via an OpenAI-compatible API), Cohere Embed Multilingual for embeddings, and Heroku Postgres with pgvector as the vector store.
A personal AI assistant with long-term memory can be built on Postgres by giving the LLM an execute_sql tool scoped to a dedicated `memories` schema and role, so it creates its own tables for structured facts.
Mastra, a TypeScript AI agent framework, can use Turso's libSQL (a SQLite fork with native vector search) as a single database for agent memory, telemetry and vector embeddings.
ClickHouse 25.5 ships 15 new features, 23 performance optimizations and 64 bug fixes.
Faiss 1.10 integrates NVIDIA cuVS GPU algorithms, including the GPU graph index CAGRA, and ships a conda package that lets users choose between classic Faiss GPU implementations and cuVS.
Supabase moves embedding generation coordination into Postgres.
pgrag, Neon's open-source Postgres extension, lets you build a complete RAG pipeline inside psql.
Canva built a reverse image search system to replace IP-restricted images in templates, after ruling out its recommendation engine, perceptual hashing, metadata text search and AI-generated images.
A tutorial for building an AI agent that periodically searches Hacker News for user-defined topics and questions and emails summaries.
vdr-2b-multi-v1 is a multilingual embedding model that encodes document page screenshots into single dense vectors for OCR-free retrieval.
Turso has released `libsql-laravel`, an official open-source Laravel adapter, along with a PHP PDO interface.
A local retrieval-augmented generation pipeline can be built in TypeScript using Ollama's Mistral model for both embeddings and generation, with libSQL storing documents and 4096-dimension F32_BLOB vectors in a single SQLite file indexed via libsql_vector_idx.
ClickHouse 24.11 makes parallel hash join the default join algorithm, building several hash tables concurrently for speed at the cost of more memory, and adds zero-copy block scattering between threads.
libSQL stores embeddings as F32_BLOB columns in ordinary SQLite tables, which lets vector similarity and structured metadata such as date ranges be queried together in plain SQL for RAG pipelines.
Vector search belongs in your primary database rather than a separate system like Pinecone, because syncing embeddings across multiple stores adds cost and operational complexity.
Figma's AI search embeds frames and published components with a CLIP-based multimodal model, so screenshots, layer selections and text all query one vector space.
LibSQL's built-in vector index uses LM-DiskANN, a disk-oriented graph ANN algorithm that stores neighbor graphs in shadow tables.
Kin, a local-first personal AI app, stores its agent memory as a vector-searchable knowledge graph on the user's device using libSQL through the OP-SQLite React Native binding, enabled with a package.json flag.
Kin, a local-first mobile personal AI, stores its personal knowledge graph in libSQL so that relational data, graph edges and vector embeddings live in one embeddable single-file database instead of syncing a separate store like faiss.
A hybrid search app over California combines timestamps, geolocation and satellite image embeddings using Modal, MongoDB Atlas and Clay's foundation model.
Embedding generation can be moved out of the request path by publishing successful libSQL writes to a Kafka topic and computing vectors in a background consumer.
An embeddings indexing pipeline can be built from configuration alone with Redpanda Connect: it consumes e-commerce invoice messages from a Redpanda Serverless topic over SASL/TLS, builds a text description of each order with Bloblang, computes embeddings locally via Ollama's nomic-embed-text model, and flattens items into separate messages before writing them to Neon Postgres with pgvector for natural-language search.
A fully local, in-browser semantic search can be built by combining PGlite (Postgres compiled to run in the browser, persisted to IndexedDB) with the pgvector extension and Transformers.js running the Supabase/gte-small embedding model.
Neon's autoscaling lets a Postgres instance scale up temporarily for the heavy memory and CPU demands of pgvector HNSW index builds, then scale back down, instead of being permanently overprovisioned.
pgvector 0.7's half-precision halfvec type stores embedding components as 16-bit floats instead of 32-bit, cutting table and HNSW index storage nearly in half.
A small RAG pipeline built on Neon Postgres with pgvector as the vector store, OctoAI's gte-large embedding model producing 1024-dimensional vectors, and Llama 3.1 405B generating answers.
libSQL implements approximate nearest neighbor search using LM-DiskANN, a low-memory variant of DiskANN.
A domain-specific documentation chatbot for Argilla 2.0 is built by chunking the project's markdown docs into ~256-token pieces and using distilabel with Llama-3-70B-Instruct to generate synthetic query triplets (anchor, positive, hard negative).
Corsearch replaced a pre-aggregated, heavily partitioned MySQL setup with ClickHouse to serve interactive anti-piracy search-engine analytics across 10+ filterable dimensions with daily, weekly and monthly rollups.
Turso's beta vector support stores OpenAI text-embedding-ada-002 embeddings in a libSQL F32_BLOB(1536) column, whose size matches the model's 1536 dimensions.
Retrieval-augmented generation fixes stale or hallucinated LLM answers by retrieving relevant data, typically via embeddings and vector similarity search, and injecting it into the prompt. libSQL adds native vector search to SQLite: embeddings are stored in an F32_BLOB column (SQLite treats column types as hints), inserted with a vector() function, and queried with vector_distance_cos() plus ORDER BY/LIMIT for exact top-k results.
libSQL, the SQLite fork behind Turso, now has native vector similarity search exposed as a column type (F32_BLOB) instead of an extension like sqlite-vss.
pgvector 0.7.0 adds float16 (halfvec), sparse and bit vector types to exploit redundancy in embeddings and cut memory and storage.
Supabase Edge Functions gain a built-in Supabase.ai.Session API for running AI inference in a few lines of code, starting with gte-small embeddings for storage in pgvector and experimental, invite-only Llama and Mistral LLMs with streaming responses.
Semantic image search can be built in Python by generating 1024-dimensional embeddings for images with the Amazon Titan multimodal embedding model (amazon.titan-embed-image-v1) via Amazon Bedrock, then storing and querying them in Supabase Vector (Postgres with pgvector) using the vecs client.
Quantizing embeddings themselves, rather than model weights, sharply cuts retrieval memory, disk and cost.
ClickHouse 24.2 ships 18 features, 18 performance optimisations and 49 bug fixes.
HackBot is a chatbot that answers questions about developer opinions by combining text-to-SQL over the 2021 Stack Overflow survey with vector search over 28m embedded Hacker News comments, both stored in ClickHouse and orchestrated with LlamaIndex, OpenAI and Streamlit.
A Flutter movie app recommends related films by storing OpenAI text-embedding-3-small embeddings of TMDB movie overviews in Supabase Postgres with pgvector.
Matryoshka embedding models are trained so that the most important information sits in the earliest dimensions, which lets embeddings be truncated (e.g., 768 down to 64) and still work well for retrieval and similarity.
OpenAI's text-embedding-3 models are trained with Matryoshka Representation Learning, so an embedding can be shortened by truncating trailing dimensions and renormalizing, which reproduces the API's `dimensions` output.
pgvector 0.6.0 adds parallel builds for HNSW indexes, cutting build time by up to 30x in benchmarks on 10M 1,536-dimension vectors using a 64 vCPU, 512GB instance.
pgvector 0.6.0 adds parallel HNSW index builds, cutting build time for 1M 1536-dimension vectors (dbpedia OpenAI dataset, m=16, ef_construction=200) from about 1h27m to 9.5 minutes.
incident.io built a related-incidents feature by embedding a plain-text representation of each incident with OpenAI's text-embedding-ada-002 and ranking matches by cosine similarity.
Approximate nearest neighbor search can be built in pure ClickHouse SQL using locality-sensitive hashing with random projections.
Linear detects duplicate and related issues by embedding issue text with an LLM and running cosine similarity search.
A natural language interface over raw Google Analytics data stored in ClickHouse is built as a multi-step RAG pipeline that generates SQL from user questions using Amazon Bedrock models.
Zalando's Search & Browse team moved their multi-cluster Elasticsearch deployment from 7.17 to 8.x, mainly to get approximate kNN vector search.
Heroku Postgres now supports the pgvector extension on Standard-tier and higher databases running Postgres 15, enabled with `CREATE EXTENSION vector;`.