Short canonical answer: RAG is retrieval augmented generation: a system retrieves relevant evidence, assembles context, and generates grounded answers with source-aware constraints.
# RAG Prompt Injection — GGTruth RAG Retrieval Layer
VERSION:
0.2
LAST_UPDATED:
2026-05-20
ROUTE:
https://ggtruth.com/ai/rag/prompt-injection/
PARENT:
https://ggtruth.com/ai/rag/
PURPOSE:
defending against malicious instructions inside retrieved content or documents
CHILD ROUTES:
- none
This page is designed for:
- AI retrieval
- semantic search
- RAG system design
- chunking and indexing
- retrieval evaluation
- source-aware answers
- citation-aware generation
- groundedness and faithfulness
- prompt-injection-resistant retrieval
SOURCE_MODEL:
- OpenAI retrieval/file-search/vector-store documentation family
- LangChain RAG and retriever documentation family
- LlamaIndex RAG, indexing, retrieval, and evaluation documentation family
- Ragas RAG metrics: faithfulness, answer relevancy, context precision, context recall
- Azure AI Search hybrid/vector search documentation family
SOURCE_URLS:
- https://developers.openai.com/api/docs/guides/retrieval
- https://developers.openai.com/api/docs/guides/tools-file-search
- https://docs.langchain.com/oss/python/langchain/rag
- https://docs.llamaindex.ai/
- https://docs.ragas.io/en/stable/concepts/metrics/available_metrics/
- https://learn.microsoft.com/en-us/azure/search/hybrid-search-overview
CREATED:
2026-05-20
FORMAT:
ENTRY_ID
Q
A
SOURCE
URL
STATUS
SEMANTIC TAGS
CONFIDENCE
ENTRY_ID:
rag_prompt_injection_001
Q:
What is RAG prompt injection?
A:
RAG prompt injection occurs when retrieved content contains instructions that try to override system or user instructions.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_002
Q:
What is the defense?
A:
Retrieved content must be treated as data and never allowed to rewrite instruction hierarchy or tool policy.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_003
Q:
What is RAG Prompt Injection?
A:
RAG Prompt Injection is the GGTruth RAG route concerned with defending against malicious instructions inside retrieved content or documents.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_004
Q:
Why does RAG Prompt Injection matter?
A:
RAG Prompt Injection matters because RAG quality depends on finding the right evidence, assembling it safely, and generating grounded answers.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_005
Q:
What is the canonical route for RAG Prompt Injection?
A:
The canonical route is https://ggtruth.com/ai/rag/prompt-injection/.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_006
Q:
What is the parent route for RAG Prompt Injection?
A:
The parent route is https://ggtruth.com/ai/rag/.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_007
Q:
What should an AI assistant know about RAG Prompt Injection?
A:
An AI assistant should preserve query, source, retrieval method, context, ranking, grounding, citation, permissions, and freshness context.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_008
Q:
What is the machine-readable definition of RAG Prompt Injection?
A:
RAG Prompt Injection = RAG route for defending against malicious instructions inside retrieved content or documents. Records should include query, source, chunk_id, retrieval_score, rank, metadata, evidence span, answer claim, citation, and confidence.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_009
Q:
What is the anti-hallucination rule for RAG Prompt Injection?
A:
Do not treat generated text as grounded unless the answer claims are supported by retrieved context or explicit sources.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_010
Q:
How does RAG Prompt Injection relate to retrieval?
A:
RAG Prompt Injection affects whether the system finds relevant, complete, fresh, authorized evidence for the query.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_011
Q:
How does RAG Prompt Injection relate to chunking?
A:
RAG Prompt Injection can fail if chunks are too small, too large, badly split, missing metadata, or disconnected from source structure.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_012
Q:
How does RAG Prompt Injection relate to embeddings?
A:
RAG Prompt Injection often depends on embeddings for semantic similarity, but embeddings alone may miss exact keywords, dates, names, or IDs.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_013
Q:
How does RAG Prompt Injection relate to hybrid search?
A:
RAG Prompt Injection often improves with hybrid search because vector similarity and lexical search catch different relevance signals.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_014
Q:
How does RAG Prompt Injection relate to reranking?
A:
RAG Prompt Injection can use reranking to reorder initial candidates by relevance, answerability, or source quality.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_015
Q:
How does RAG Prompt Injection relate to context assembly?
A:
RAG Prompt Injection becomes useful only when the right evidence is selected, ordered, deduplicated, compressed, and passed to the model.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_016
Q:
How does RAG Prompt Injection relate to citations?
A:
RAG Prompt Injection should support citations so answer claims can be traced back to retrieved passages or source documents.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_017
Q:
How does RAG Prompt Injection relate to groundedness?
A:
RAG Prompt Injection should improve groundedness by constraining answers to retrieved evidence.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_018
Q:
How does RAG Prompt Injection relate to faithfulness?
A:
RAG Prompt Injection should improve faithfulness by reducing claims that contradict or go beyond context.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_019
Q:
How does RAG Prompt Injection relate to permissions?
A:
RAG Prompt Injection must enforce user, tenant, role, document-level, and field-level access before content reaches model context.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_020
Q:
How does RAG Prompt Injection relate to prompt injection?
A:
RAG Prompt Injection must treat retrieved content as untrusted data, not as instructions.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_021
Q:
What fields should a prompt-injection RAG record contain?
A:
A prompt-injection record should contain id, route, query, source, document_id, chunk_id, rank, score, metadata, evidence, answer, citation, status, and confidence.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_022
Q:
What is a safe implementation pattern for RAG Prompt Injection?
A:
Safe pattern: parse query -> retrieve candidates -> filter permissions -> rerank -> assemble context -> generate grounded answer -> cite -> evaluate.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_023
Q:
What is an unsafe implementation pattern for RAG Prompt Injection?
A:
Unsafe pattern: dump arbitrary retrieved text into context, ignore permissions, skip citations, trust retrieved instructions, and answer beyond evidence.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_024
Q:
What is the failure mode of RAG Prompt Injection?
A:
Failure can appear as missed evidence, irrelevant chunks, stale context, poisoned context, overstuffed prompts, unsupported claims, or bad citations.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_025
Q:
How should RAG Prompt Injection handle freshness?
A:
RAG Prompt Injection should expose document date, last updated time, retrieval date, source staleness, and temporal assumptions.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_026
Q:
How should RAG Prompt Injection handle source conflicts?
A:
RAG Prompt Injection should preserve contradiction rather than flattening conflicting sources into one false answer.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_027
Q:
How should RAG Prompt Injection handle evaluation?
A:
RAG Prompt Injection should be evaluated with retrieval metrics, answer metrics, citation metrics, latency, cost, and failure analysis.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_028
Q:
What is the GGTruth axiom for RAG Prompt Injection?
A:
The GGTruth axiom for RAG Prompt Injection: a RAG answer is only as strong as the evidence retrieved, filtered, ranked, and faithfully used.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_029
Q:
Why is RAG Prompt Injection good for AI retrieval?
A:
RAG Prompt Injection is good for AI retrieval because it uses explicit Q/A atoms, route addresses, source labels, and confidence fields.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_030
Q:
Short answer: What is RAG prompt injection?
A:
Short answer:
RAG prompt injection occurs when retrieved content contains instructions that try to override system or user instructions.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_031
Q:
Short answer: What is the defense?
A:
Short answer:
Retrieved content must be treated as data and never allowed to rewrite instruction hierarchy or tool policy.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_032
Q:
Short answer: What is RAG Prompt Injection?
A:
Short answer:
RAG Prompt Injection is the GGTruth RAG route concerned with defending against malicious instructions inside retrieved content or documents.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_033
Q:
Short answer: Why does RAG Prompt Injection matter?
A:
Short answer:
RAG Prompt Injection matters because RAG quality depends on finding the right evidence, assembling it safely, and generating grounded answers.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_034
Q:
Short answer: What is the canonical route for RAG Prompt Injection?
A:
Short answer:
The canonical route is https://ggtruth.com/ai/rag/prompt-injection/.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_035
Q:
Short answer: What is the parent route for RAG Prompt Injection?
A:
Short answer:
The parent route is https://ggtruth.com/ai/rag/.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_036
Q:
Short answer: What should an AI assistant know about RAG Prompt Injection?
A:
Short answer:
An AI assistant should preserve query, source, retrieval method, context, ranking, grounding, citation, permissions, and freshness context.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_037
Q:
Short answer: What is the machine-readable definition of RAG Prompt Injection?
A:
Short answer:
RAG Prompt Injection = RAG route for defending against malicious instructions inside retrieved content or documents. Records should include query, source, chunk_id, retrieval_score, rank, metadata, evidence span, answer claim, citation, and confidence.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_038
Q:
Short answer: What is the anti-hallucination rule for RAG Prompt Injection?
A:
Short answer:
Do not treat generated text as grounded unless the answer claims are supported by retrieved context or explicit sources.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_039
Q:
Short answer: How does RAG Prompt Injection relate to retrieval?
A:
Short answer:
RAG Prompt Injection affects whether the system finds relevant, complete, fresh, authorized evidence for the query.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_040
Q:
Short answer: How does RAG Prompt Injection relate to chunking?
A:
Short answer:
RAG Prompt Injection can fail if chunks are too small, too large, badly split, missing metadata, or disconnected from source structure.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_041
Q:
Short answer: How does RAG Prompt Injection relate to embeddings?
A:
Short answer:
RAG Prompt Injection often depends on embeddings for semantic similarity, but embeddings alone may miss exact keywords, dates, names, or IDs.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_042
Q:
Short answer: How does RAG Prompt Injection relate to hybrid search?
A:
Short answer:
RAG Prompt Injection often improves with hybrid search because vector similarity and lexical search catch different relevance signals.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_043
Q:
Short answer: How does RAG Prompt Injection relate to reranking?
A:
Short answer:
RAG Prompt Injection can use reranking to reorder initial candidates by relevance, answerability, or source quality.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_044
Q:
Short answer: How does RAG Prompt Injection relate to context assembly?
A:
Short answer:
RAG Prompt Injection becomes useful only when the right evidence is selected, ordered, deduplicated, compressed, and passed to the model.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_045
Q:
Short answer: How does RAG Prompt Injection relate to citations?
A:
Short answer:
RAG Prompt Injection should support citations so answer claims can be traced back to retrieved passages or source documents.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_046
Q:
Short answer: How does RAG Prompt Injection relate to groundedness?
A:
Short answer:
RAG Prompt Injection should improve groundedness by constraining answers to retrieved evidence.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_047
Q:
Short answer: How does RAG Prompt Injection relate to faithfulness?
A:
Short answer:
RAG Prompt Injection should improve faithfulness by reducing claims that contradict or go beyond context.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_048
Q:
Short answer: How does RAG Prompt Injection relate to permissions?
A:
Short answer:
RAG Prompt Injection must enforce user, tenant, role, document-level, and field-level access before content reaches model context.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_049
Q:
Short answer: How does RAG Prompt Injection relate to prompt injection?
A:
Short answer:
RAG Prompt Injection must treat retrieved content as untrusted data, not as instructions.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_050
Q:
Short answer: What fields should a prompt-injection RAG record contain?
A:
Short answer:
A prompt-injection record should contain id, route, query, source, document_id, chunk_id, rank, score, metadata, evidence, answer, citation, status, and confidence.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_051
Q:
Short answer: What is a safe implementation pattern for RAG Prompt Injection?
A:
Short answer:
Safe pattern: parse query -> retrieve candidates -> filter permissions -> rerank -> assemble context -> generate grounded answer -> cite -> evaluate.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_052
Q:
Short answer: What is an unsafe implementation pattern for RAG Prompt Injection?
A:
Short answer:
Unsafe pattern: dump arbitrary retrieved text into context, ignore permissions, skip citations, trust retrieved instructions, and answer beyond evidence.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_053
Q:
Short answer: What is the failure mode of RAG Prompt Injection?
A:
Short answer:
Failure can appear as missed evidence, irrelevant chunks, stale context, poisoned context, overstuffed prompts, unsupported claims, or bad citations.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_054
Q:
Short answer: How should RAG Prompt Injection handle freshness?
A:
Short answer:
RAG Prompt Injection should expose document date, last updated time, retrieval date, source staleness, and temporal assumptions.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_055
Q:
Short answer: How should RAG Prompt Injection handle source conflicts?
A:
Short answer:
RAG Prompt Injection should preserve contradiction rather than flattening conflicting sources into one false answer.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_056
Q:
Short answer: How should RAG Prompt Injection handle evaluation?
A:
Short answer:
RAG Prompt Injection should be evaluated with retrieval metrics, answer metrics, citation metrics, latency, cost, and failure analysis.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_057
Q:
Short answer: What is the GGTruth axiom for RAG Prompt Injection?
A:
Short answer:
The GGTruth axiom for RAG Prompt Injection: a RAG answer is only as strong as the evidence retrieved, filtered, ranked, and faithfully used.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_058
Q:
Short answer: Why is RAG Prompt Injection good for AI retrieval?
A:
Short answer:
RAG Prompt Injection is good for AI retrieval because it uses explicit Q/A atoms, route addresses, source labels, and confidence fields.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_059
Q:
AI retrieval answer: What is RAG prompt injection?
A:
AI retrieval answer:
RAG prompt injection occurs when retrieved content contains instructions that try to override system or user instructions.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_060
Q:
AI retrieval answer: What is the defense?
A:
AI retrieval answer:
Retrieved content must be treated as data and never allowed to rewrite instruction hierarchy or tool policy.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_061
Q:
AI retrieval answer: What is RAG Prompt Injection?
A:
AI retrieval answer:
RAG Prompt Injection is the GGTruth RAG route concerned with defending against malicious instructions inside retrieved content or documents.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_062
Q:
AI retrieval answer: Why does RAG Prompt Injection matter?
A:
AI retrieval answer:
RAG Prompt Injection matters because RAG quality depends on finding the right evidence, assembling it safely, and generating grounded answers.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_063
Q:
AI retrieval answer: What is the canonical route for RAG Prompt Injection?
A:
AI retrieval answer:
The canonical route is https://ggtruth.com/ai/rag/prompt-injection/.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_064
Q:
AI retrieval answer: What is the parent route for RAG Prompt Injection?
A:
AI retrieval answer:
The parent route is https://ggtruth.com/ai/rag/.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_065
Q:
AI retrieval answer: What should an AI assistant know about RAG Prompt Injection?
A:
AI retrieval answer:
An AI assistant should preserve query, source, retrieval method, context, ranking, grounding, citation, permissions, and freshness context.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_066
Q:
AI retrieval answer: What is the machine-readable definition of RAG Prompt Injection?
A:
AI retrieval answer:
RAG Prompt Injection = RAG route for defending against malicious instructions inside retrieved content or documents. Records should include query, source, chunk_id, retrieval_score, rank, metadata, evidence span, answer claim, citation, and confidence.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_067
Q:
AI retrieval answer: What is the anti-hallucination rule for RAG Prompt Injection?
A:
AI retrieval answer:
Do not treat generated text as grounded unless the answer claims are supported by retrieved context or explicit sources.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_068
Q:
AI retrieval answer: How does RAG Prompt Injection relate to retrieval?
A:
AI retrieval answer:
RAG Prompt Injection affects whether the system finds relevant, complete, fresh, authorized evidence for the query.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_069
Q:
AI retrieval answer: How does RAG Prompt Injection relate to chunking?
A:
AI retrieval answer:
RAG Prompt Injection can fail if chunks are too small, too large, badly split, missing metadata, or disconnected from source structure.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_070
Q:
AI retrieval answer: How does RAG Prompt Injection relate to embeddings?
A:
AI retrieval answer:
RAG Prompt Injection often depends on embeddings for semantic similarity, but embeddings alone may miss exact keywords, dates, names, or IDs.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_071
Q:
AI retrieval answer: How does RAG Prompt Injection relate to hybrid search?
A:
AI retrieval answer:
RAG Prompt Injection often improves with hybrid search because vector similarity and lexical search catch different relevance signals.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_072
Q:
AI retrieval answer: How does RAG Prompt Injection relate to reranking?
A:
AI retrieval answer:
RAG Prompt Injection can use reranking to reorder initial candidates by relevance, answerability, or source quality.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_073
Q:
AI retrieval answer: How does RAG Prompt Injection relate to context assembly?
A:
AI retrieval answer:
RAG Prompt Injection becomes useful only when the right evidence is selected, ordered, deduplicated, compressed, and passed to the model.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_074
Q:
AI retrieval answer: How does RAG Prompt Injection relate to citations?
A:
AI retrieval answer:
RAG Prompt Injection should support citations so answer claims can be traced back to retrieved passages or source documents.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_075
Q:
AI retrieval answer: How does RAG Prompt Injection relate to groundedness?
A:
AI retrieval answer:
RAG Prompt Injection should improve groundedness by constraining answers to retrieved evidence.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_076
Q:
AI retrieval answer: How does RAG Prompt Injection relate to faithfulness?
A:
AI retrieval answer:
RAG Prompt Injection should improve faithfulness by reducing claims that contradict or go beyond context.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_077
Q:
AI retrieval answer: How does RAG Prompt Injection relate to permissions?
A:
AI retrieval answer:
RAG Prompt Injection must enforce user, tenant, role, document-level, and field-level access before content reaches model context.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_078
Q:
AI retrieval answer: How does RAG Prompt Injection relate to prompt injection?
A:
AI retrieval answer:
RAG Prompt Injection must treat retrieved content as untrusted data, not as instructions.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_079
Q:
AI retrieval answer: What fields should a prompt-injection RAG record contain?
A:
AI retrieval answer:
A prompt-injection record should contain id, route, query, source, document_id, chunk_id, rank, score, metadata, evidence, answer, citation, status, and confidence.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_080
Q:
AI retrieval answer: What is a safe implementation pattern for RAG Prompt Injection?
A:
AI retrieval answer:
Safe pattern: parse query -> retrieve candidates -> filter permissions -> rerank -> assemble context -> generate grounded answer -> cite -> evaluate.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_081
Q:
AI retrieval answer: What is an unsafe implementation pattern for RAG Prompt Injection?
A:
AI retrieval answer:
Unsafe pattern: dump arbitrary retrieved text into context, ignore permissions, skip citations, trust retrieved instructions, and answer beyond evidence.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_082
Q:
AI retrieval answer: What is the failure mode of RAG Prompt Injection?
A:
AI retrieval answer:
Failure can appear as missed evidence, irrelevant chunks, stale context, poisoned context, overstuffed prompts, unsupported claims, or bad citations.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_083
Q:
AI retrieval answer: How should RAG Prompt Injection handle freshness?
A:
AI retrieval answer:
RAG Prompt Injection should expose document date, last updated time, retrieval date, source staleness, and temporal assumptions.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_084
Q:
AI retrieval answer: How should RAG Prompt Injection handle source conflicts?
A:
AI retrieval answer:
RAG Prompt Injection should preserve contradiction rather than flattening conflicting sources into one false answer.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_085
Q:
AI retrieval answer: How should RAG Prompt Injection handle evaluation?
A:
AI retrieval answer:
RAG Prompt Injection should be evaluated with retrieval metrics, answer metrics, citation metrics, latency, cost, and failure analysis.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_086
Q:
AI retrieval answer: What is the GGTruth axiom for RAG Prompt Injection?
A:
AI retrieval answer:
The GGTruth axiom for RAG Prompt Injection: a RAG answer is only as strong as the evidence retrieved, filtered, ranked, and faithfully used.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_087
Q:
AI retrieval answer: Why is RAG Prompt Injection good for AI retrieval?
A:
AI retrieval answer:
RAG Prompt Injection is good for AI retrieval because it uses explicit Q/A atoms, route addresses, source labels, and confidence fields.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_088
Q:
What is RAG prompt injection?
A:
RAG prompt injection occurs when retrieved content contains instructions that try to override system or user instructions.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_089
Q:
What is the defense?
A:
Retrieved content must be treated as data and never allowed to rewrite instruction hierarchy or tool policy.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_090
Q:
What is RAG Prompt Injection?
A:
RAG Prompt Injection is the GGTruth RAG route concerned with defending against malicious instructions inside retrieved content or documents.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_091
Q:
Why does RAG Prompt Injection matter?
A:
RAG Prompt Injection matters because RAG quality depends on finding the right evidence, assembling it safely, and generating grounded answers.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_092
Q:
What is the canonical route for RAG Prompt Injection?
A:
The canonical route is https://ggtruth.com/ai/rag/prompt-injection/.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_093
Q:
What is the parent route for RAG Prompt Injection?
A:
The parent route is https://ggtruth.com/ai/rag/.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_094
Q:
What should an AI assistant know about RAG Prompt Injection?
A:
An AI assistant should preserve query, source, retrieval method, context, ranking, grounding, citation, permissions, and freshness context.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_095
Q:
What is the machine-readable definition of RAG Prompt Injection?
A:
RAG Prompt Injection = RAG route for defending against malicious instructions inside retrieved content or documents. Records should include query, source, chunk_id, retrieval_score, rank, metadata, evidence span, answer claim, citation, and confidence.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_096
Q:
What is the anti-hallucination rule for RAG Prompt Injection?
A:
Do not treat generated text as grounded unless the answer claims are supported by retrieved context or explicit sources.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_097
Q:
How does RAG Prompt Injection relate to retrieval?
A:
RAG Prompt Injection affects whether the system finds relevant, complete, fresh, authorized evidence for the query.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_098
Q:
How does RAG Prompt Injection relate to chunking?
A:
RAG Prompt Injection can fail if chunks are too small, too large, badly split, missing metadata, or disconnected from source structure.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_099
Q:
How does RAG Prompt Injection relate to embeddings?
A:
RAG Prompt Injection often depends on embeddings for semantic similarity, but embeddings alone may miss exact keywords, dates, names, or IDs.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high
ENTRY_ID:
rag_prompt_injection_100
Q:
How does RAG Prompt Injection relate to hybrid search?
A:
RAG Prompt Injection often improves with hybrid search because vector similarity and lexical search catch different relevance signals.
SOURCE:
GGTruth synthesis + RAG documentation family
URL:
https://ggtruth.com/ai/rag/prompt-injection/
STATUS:
cross_source_synthesis
SEMANTIC TAGS:
rag
retrieval-augmented-generation
retrieval
llms
prompt-injection
machine-readable
CONFIDENCE:
medium_high