Embeddings
13 items tagged with "embeddings"
Tutorials4
How to set up vector similarity search with pgvector
Install pgvector in PostgreSQL, store embeddings, build an ANN index, and run nearest-neighbor queries for semantic search.
How to build a RAG pipeline for question answering
Build a retrieval-augmented generation pipeline that grounds an LLM's answers in your own documents using chunking, embeddings, and a vector store.
How to add semantic search with embeddings and a vector database
Add meaning-based search to an app by generating text embeddings and querying a vector database for nearest neighbors.
Precompute the Semantic Index with vg embed
Use vg embed to precompute the semantic index so your next vg ask is instant — a local ONNX model downloaded once, then fully offline.
Benchmarks4
ANN-Benchmarks
The standard open benchmark for approximate nearest neighbor search, plotting recall against queries-per-second across vector index libraries and databases.
BigANN Benchmark
A billion-scale approximate nearest neighbor benchmark testing vector search algorithms on large data sets with constraints on memory, throughput, and recall.
MTEB (Massive Text Embedding Benchmark)
A broad benchmark for text embedding models spanning classification, clustering, retrieval, reranking, and semantic similarity across many datasets and languages.
BEIR (Benchmarking Information Retrieval)
A heterogeneous zero-shot retrieval benchmark that tests how well a single retrieval model generalizes across diverse domains and query types without task-specific training.
FAQs3
What is a vector database?
A vector database stores and searches high-dimensional vector embeddings, the numeric representations of text, images, or other data produced by machi...
What is retrieval-augmented generation (RAG)?
Retrieval-augmented generation is a technique that supplements a language model with relevant documents fetched at query time, rather than relying onl...
What are embeddings in machine learning?
Embeddings are dense numerical vectors that represent text, images, or other data in a continuous space where semantic similarity corresponds to geome...