InterviewTreedInterviewTreed

The question library

Technical interview questions and answers

Explore practical questions, clear explanations, and code examples across developer technologies.

Showing 1585–1596 of 3610 questions

Generative AI & LLMsIntermediate1 min read

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…

Generative AI & LLMsIntermediate1 min read

What is vector search?

Vector search indexes embedding vectors and retrieves vectors nearest to a query vector under a chosen distance or similarity measure.…

Generative AI & LLMsIntermediate1 min read

What is a vector database?

A vector database stores vectors alongside identifiers and metadata and supports similarity search, filtering, and often indexing or update…

Generative AI & LLMsIntermediate1 min read

What is hybrid search?

Hybrid search combines lexical retrieval, such as BM25 or keyword matching, with semantic vector retrieval. Lexical search is often strong for…

Generative AI & LLMsIntermediate1 min read

What is embedding drift?

Embedding drift occurs when document and query representations change in distribution or compatibility, often because of a model or…

Generative AI & LLMsIntermediate1 min read

What is tool or function calling?

Tool calling lets a model propose a structured call to an application-defined function, such as searching records or calculating a value. The…

Generative AI & LLMsIntermediate1 min read

What is an AI agent?

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…