Content & privacy
AI Engineering · INTERVIEW GUIDE

AI Engineering

Learn LLMs, RAG, agents, secure tools, and production AI through practical insurance examples.

Practice this topic
Filters
11 questions

RAG: three levels of understanding

AI Engineering·RAG, beginner to advanced

RAG stands for retrieval-augmented generation. It retrieves relevant external information and provides that information to a model before asking for an answer. It connects language generation to a changing knowledge source without retraining the model.

Intermediate3 min read

Document ingestion, PDF processing, and parsing

AI Engineering·RAG, beginner to advanced

Ingestion is the pipeline that turns approved source files into searchable records. Parsing extracts text and structure; PDFs may contain actual text, scanned images, tables, or all three. OCR, optical character recognition, converts image-based letters into…

Intermediate2 min read

Chunking, chunk size, overlap, and metadata

AI Engineering·RAG, beginner to advanced

Chunking divides documents into retrieval-sized pieces. Chunk size controls how much content each piece contains; overlap repeats a small amount at boundaries. Metadata identifies the piece's source, permissions, version, and other useful attributes.

Intermediate2 min read

Retrieval, context construction, and prompt construction

AI Engineering·RAG, beginner to advanced

Retrieval selects candidate evidence. Context construction chooses which evidence and conversation details the model sees. Prompt construction combines trusted instructions, the user's question, and clearly labeled untrusted source material.

Intermediate2 min read

Citations and source attribution

AI Engineering·RAG, beginner to advanced

A citation points to evidence supporting a statement. Source attribution identifies the original document, location, and version. The model can suggest references, but the application must ensure they map to actual retrieved sources.

Intermediate2 min read

Query rewriting, multi-query retrieval, and query decomposition

AI Engineering·RAG, beginner to advanced

Query rewriting restates a request for search, often resolving references from conversation. Multi-query retrieval searches alternative formulations. Query decomposition splits a compound question into smaller questions that may require separate evidence.

Intermediate2 min read

Hybrid RAG, reranking, and parent-child retrieval

AI Engineering·RAG, beginner to advanced

Hybrid RAG uses lexical and semantic retrieval together. Reranking carefully orders the retrieved candidates. Parent-child retrieval searches smaller child chunks but supplies a larger parent section when the child is selected.

Intermediate2 min read

Multi-hop RAG and agentic RAG

AI Engineering·RAG, beginner to advanced

Multi-hop RAG retrieves information in dependent steps: one finding determines the next search. Agentic RAG lets a bounded agent choose retrieval tools or decide whether another search is needed. A fixed two-step retrieval workflow can be multi-hop without…

Intermediate2 min read

Corrective RAG, self-reflective RAG, and context compression

AI Engineering·RAG, beginner to advanced

Corrective RAG detects inadequate retrieval and applies a correction, such as reformulating search. Self-reflective RAG checks whether evidence or an answer is sufficient and supported. Context compression reduces retrieved text to the parts useful for the…

Intermediate2 min read

Graph RAG

AI Engineering·RAG, beginner to advanced

Graph RAG retrieves through entities and relationships, such as customer → policy → endorsement → covered asset. It can combine graph traversal, document retrieval, and generated summaries. A graph represents connected facts; it is separate from LangGraph's…

Intermediate2 min read

RAG evaluation and comparison with alternatives

AI Engineering·RAG, beginner to advanced

RAG evaluation measures retrieval quality and answer quality independently and together. Fine-tuning changes model behavior through training; long context supplies a large body of content directly; traditional search returns evidence without generating an…

Intermediate2 min read

Difficulty is an editorial estimate. Completion means you chose to mark a question as understood.