PromptisePromptise
Docs
GitHub
Promptise - AI Framework LogoPromptise

The foundation layer for agentic intelligence. Build, secure and operate autonomous AI systems with Promptise Foundry.

pip install promptise

[01] Foundry

  • MCPcast
  • The Promptise Agent
  • Reasoning Engine
  • MCP
  • Agent Runtime
  • Prompt Engineering
  • Execution Engine
  • Agent Identity

[02] Resources

  • Documentation
  • GitHub
  • Guides
  • Learning Paths
  • Questions

[03] Company

  • About
  • Terms of Service
  • Privacy Policy
  • Cookie Policy
  • Subprocessors

© 2026 Promptise by Manser Ventures. All rights reserved.

Open source · Python

← Guides> Library> Topic

Grounding LLM answers in sources, with citations

A grounded answer is one the model takes from text you supplied, not from memory. Grounding is the main practical defence against invented facts: give the model the relevant documents, mark clearly where they begin and end, tell it to answer only from them, and let it say when they do not contain the answer.

Asking for citations, such as the passage or document behind each claim, makes answers checkable by a person or by code. These guides cover grounding from the beginner level: giving the model the right context, building a small retrieval pipeline with citations, quick checks for hallucinations, and structuring long-context prompts so the model finds and uses the relevant passage.

[n.01/02]> 6 guides
  1. 01Are LLMs Stochastic Parrots? What the Term Gets RightAre LLMs stochastic parrots? What Bender et al. meant, what next-token prediction implies, where the term falls short, and the habit it should give you.Beginner · 5 minOct 18, 2026
  2. 02RAG for Beginners: Build a Tiny RAG Pipeline in PythonBuild a tiny RAG pipeline in Python: chunk Markdown files, embed and retrieve passages, cite sources and admit when the docs don't cover it. Real output.Beginner · 7 minOct 18, 2026
  3. 03Grounding LLM Answers: Give the Model the Right ContextGround LLM answers in your own text: paste the source, fence it with delimiters, require citations and handle gaps. Real return-policy example.Beginner · 7 minOct 18, 2026
  4. 04LLM Hallucinations: Why They Happen and Quick ChecksWhy LLMs hallucinate and how to catch it: spot risky questions, allow "I don't know", require quotes and check them in code. Real fake-citation example.Beginner · 7 minOct 18, 2026
  5. 05LLMs as Lossy Compression: Why They Can't Quote ExactlyWhy an LLM is a lossy compression of its training data: it keeps gist and loses exact wording, quotes and URLs. What to ask it for, with a real example.Intermediate · 4 minOct 18, 2026
  6. 06Long-Context Prompting: Placement, Structure and RAGLong-context prompting tactics: where to put documents and the question, how to tag sources, quote-then-answer, and when to retrieve instead of stuffing.Intermediate · 8 minOct 18, 2026
[n.02/02]> go further

Related topics

  • Hallucinations11
  • RAG (Retrieval-Augmented Generation)9
  • Context Engineering6
  • How LLMs Work8
  • LLM Mental Models19
  • Prompt Writing Basics4

By category and level

  • Prompt Engineering guides54
  • Beginner guides36
  • Intermediate guides80

Search every guide.

The library lists all guides with filters for topic, level, category and reading time.

All guidesLearning paths