How are text embeddings generated?
An embedding model tokenizes input, processes it through a learned neural network, and returns a fixed-size vector representing the text. Some…
The question library
Explore practical questions, clear explanations, and code examples across developer technologies.
Showing 1585–1596 of 3610 questions
An embedding model tokenizes input, processes it through a learned neural network, and returns a fixed-size vector representing the text. Some…
Vector search indexes embedding vectors and retrieves vectors nearest to a query vector under a chosen distance or similarity measure.…
A vector database stores vectors alongside identifiers and metadata and supports similarity search, filtering, and often indexing or update…
Hybrid search combines lexical retrieval, such as BM25 or keyword matching, with semantic vector retrieval. Lexical search is often strong for…
Choose chunk size by measuring retrieval quality and downstream answer quality across representative queries. Small chunks provide focused…
Metadata filtering restricts retrieval to documents matching attributes such as tenant, product, date, language, or access scope. Filters can…
Embedding drift occurs when document and query representations change in distribution or compatibility, often because of a model or…
Regenerate embeddings when source content changes materially, the embedding model or preprocessing changes, or evaluation reveals degraded…
RAG retrieves relevant external information and supplies it to a generative model as context before answering. It can improve freshness and…
RAG supplies relevant data at inference time, making it useful for changing facts and source citations. Fine-tuning changes model parameters to…
Tool calling lets a model propose a structured call to an application-defined function, such as searching records or calculating a value. The…
An AI agent is a system that uses a model to select actions or tools toward a goal, often across multiple steps. Reliable agents need bounded…