Semantic Vector Field (Cosine Similarity Map)
Query Vector
Grounded Chunk
Hallucination Risk Zone
Similarity Threshold (τ)
0.75
Top-K Cutoff
3
Retrieval Telemetry
• Low Risk
Max Similarity
0.88
Retrieved Chunks
2
Vector Distance Metric (Nearest)
Cosine Similarity: 0.88
Euclidean Dist: 0.48
Ranked Context Chunks
Constructed LLM Prompt Payload
SYSTEM: You are a helpful assistant. Use ONLY the following context to answer the user query.
CONTEXT:
... Loading ...
USER QUERY: RAG architecture similarity search