InterviewTreedInterviewTreed

The question library

Technical interview questions and answers

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

Showing 133–144 of 3610 questions

AI Application EngineeringBeginner1 min read

What are the main stages of a RAG pipeline?

A typical RAG pipeline ingests and cleans documents, splits them into chunks, creates embeddings, indexes chunks, retrieves candidates for a query, reranks or filters them, and sends selected context to the LLM.

AI Application EngineeringBeginner1 min read

What is grounding in RAG?

Grounding means tying an answer to retrieved evidence rather than relying only on model parameters or unsupported guesses.

AI Application EngineeringIntermediate1 min read

What is hybrid search?

Hybrid search combines lexical search, which matches terms, with vector search, which matches semantic similarity.

AI Application EngineeringIntermediate1 min read

What is reranking?

Reranking scores an initial candidate set with a more precise model or cross-encoder to improve ordering.

AI Application EngineeringIntermediate1 min read

What is query rewriting?

Query rewriting transforms a user's request into a search-friendly query, possibly resolving references from conversation history or expanding synonyms.