G1 - Azure AI search & RAG architecture

DOCUMENTS
    ↓
extract content
    ↓
clean/process
    ↓
chunk
    ↓
create embeddings
    ↓
INDEX
USER QUERY
    ↓
search/retrieve
    ↓
top relevant chunks
    ↓
add chunks to model context
    ↓
LLM
    ↓
ANSWER
                Azure AI Search

DOCUMENTS ───────► INDEX
	                     ▲
	                     │
USER QUERY ──────────┘
	                     │
	                     ▼
		            search results
	                     │
	                     ▼
	                  Foundry app
	                     │
	                     ▼
	                   model
content:
"The detector must not exceed 850 V..."

document:
detector_manual_v7.pdf

section:
4.2

page:
37

detector_type:
D17

last_updated:
2026-08-14

embedding:
[0.032, -0.172, 0.091, ...]
USER QUERY
    ↓
query representation
    ↓
Azure AI Search
    ↓
retrieve:
section 4.2
"must not exceed 850 V"
    ↓
construct model input
 
SYSTEM:
Answer using supplied documentation.

CONTEXT:
D17 manual section 4.2:
"The detector must not exceed 850 V."

USER:
What voltage should D17 never exceed?

LLM
 ↓
"The D17 should not exceed 850 V."
USER IDENTITY
     ↓
authorization
     ↓
SEARCH / FILTER
     ↓
only permitted chunks
     ↓
LLM