Parametric and External Knowledge
Compare parametric knowledge, prompting, RAG, knowledge editing, and retraining. Build a trust-aware resolver for delayed and conflicting policy evidence.
Language AI HandbookAll chapters Parametric and External Knowledge
A company lowers its expense approval threshold from $500 to $250 on June 1. On June 2 search still returns the old memo. A language model can generate a plausible threshold from that memo. What should the assistant do when the newer memo has yet to reach the index?
The answer depends on two different things. The model's weights influence what it is likely to say. The company policy determines what employees are authorized to do. To answer the question, the application needs a way to find the effective policy and identify which version it used. Updating the weights alone supplies neither capability.
We'll compare four ways to change what a system can answer: prompting, retrieval-augmented generation (RAG), knowledge editing, and retraining. Then we'll implement a small resolver for the expense example. Its difficult case is June 2, when the old memo is still retrievable and the new one is already in force.
The distinction is the organizing principle for the rest of this Part. Once you locate where a piece of information should come from, you can decide whether to supply it in the prompt, retrieve it, or change the model. Retrieval mechanics are covered in Part XLIV. Continued training is covered in Part XLVI.
What Counts as Knowledge in a Language Model?
Parametric knowledge is information the model can express because of what its parameters learned. If you ask a standalone model who wrote Pride and Prejudice, it may give Jane Austen without consulting a catalog. The prediction is conditioned on the question and the model's weights. Changing the wording or supplying a misleading context can change the answer while the weights stay fixed.
Information encoded in learned parameters is elicited through model behavior. A closed-book answer can be tested without a runtime lookup. The answer alone generally does not identify an authoritative source or indicate when a fact was current.
An application can supply information from documents, databases, retrieval indexes, or tool results. Source and version metadata let the application cite a particular revision and check which record it used. A store can update a record without retaining its history.
Two systems can use the same model and answer the same question from different evidence. One might use a trained association between a book and its author. Another might consult a library catalog and return the catalog record with its answer. The second application can record which item it used. The first can be easier to run if the model is already available, but its output is weaker evidence of which external source would justify the answer.
Four places a "fact" can live at inference time
Consider a question about what a support policy allows. Four places can influence what the system says.
- Weights. The model can generate an answer from learned associations conditioned on the question.
- Prompt context. The caller may supply the rule directly, as part of a question or a quoted document.
- Retrieved evidence. Search selects relevant passages from a collection. In a typical text setup those passages enter the prompt with source information attached.
- Tools and structured lookups. A service or function can return the value of a field, or the application can use the result directly without asking a model to extract it.
Documents and tool results can both appear as text in a request. Message framing and explicit source identifiers can help the application distinguish provenance, and the generator may condition on roles or labels included in the input. The policy decision about which source sets the rule can be enforced outside the model. That distinction matters when the same words appear in a signed notice and in a caller's example.
A working taxonomy of model knowledge
You can separate what you want to evaluate before choosing how to change it. A factual question asks for a particular proposition, such as which policy revision applies. A linguistic or procedural task asks the model to apply a pattern, such as formatting an amount or writing a conditional. A commonsense task may require relationships or assumptions left unstated in the question. A reasoning task may ask the model to connect intermediate steps and reach a result. These are evaluation categories for this chapter. The same request can involve several of them.
Retrieval can supply missing premises for a reasoning problem. Keeping the generator fixed leaves its learned parameters in place. If the system still misapplies the rule when supplied with the correct passage, compare outputs on a controlled task where the evidence is held fixed. A retrieval improvement and an improvement in reasoning given the same evidence are different results.
Why Parametric Knowledge Is the Way It Is
Parametric recall can work well enough to answer a question. To find out whether it does, test what the model produces under the same input and decoding conditions you expect to use.
Knowledge as a byproduct of next-token prediction
In causal language modeling, next-token cross-entropy rewards probability assigned to the observed next token. A training example contributes a prediction target. It needn't include a factuality label, an effective date, or a citation that the model can later retrieve. Accurate recall can emerge from this objective, but answering accurately under one prompt is a measurement of behavior under that prompt. Under closed-book conditions, Roberts et al. evaluated variants of T5 on open-domain question answering with no access to a knowledge source at inference. Zhong et al. examined how factual probe results vary with the prompts in a different setting.
Popularity can help predict where a model will struggle to answer from its weights. It gives you little to verify about a particular completion. On the PopQA benchmark, Mallen et al. reported that models struggled with less popular entities. They estimated entity popularity using Wikipedia page views. That proxy and an exact count of the model's pretraining exposures are different measurements.
For an application, the simplest test is to fix the checkpoint and decoding settings, then measure the result across question paraphrases. Next, introduce a passage with a conflicting answer and test again. The first test measures elicitation under the chosen prompts. The second measures how that behavior changes with the evidence in context. Longpre et al. studied such conflicts by changing answer entities in passages. A response in either test tells you what the tested system produced under those conditions. It gives you no authoritative timestamp for the answer.
Factual probes are most informative when you keep the task conditions visible. For example, compare a question with its paraphrases under the same decoding policy, then repeat the comparison with a passage in context. If the answer changes, check what changed about the task before attributing it to training data. A model that succeeds only on one template is a different deployment choice from a model that succeeds across the range of questions you receive.
Why parametric knowledge is lossy and "hallucination-prone"
A next-token target is an observed part of a training sequence. The corpus can contain stale records, contradictory statements and examples of people declining to answer. Predictive training can learn behavior from any of these patterns. It does not require a separate source field or a test of whether a generated continuation is supported by a policy. A fluent completion therefore supplies little evidence of whether its claims are true. See Hallucination and Factuality for more examples.
A passage can make the factual problem easier if it contains the answer: the system can ask the model to extract the value from a record it supplies. It can then check the extracted value against the record. A passage that merely sounds relevant can leave the essential premise missing. In an evaluation, count that case separately from one in which the answer appears in the passage and the model still misreads it.
The frozen-in-time problem
A deployed checkpoint stays fixed until you change or replace it. If a policy changes, that event alone contributes no update to the weights. Continued training or a targeted weight edit can change how the checkpoint answers. A lookup can supply the revised value while leaving the checkpoint in place. A corpus cutoff also does not tell you exactly which individual facts a model learned. Later in this Part, Knowledge Freshness and Temporal Updates treats the dates of source material and its use in more detail.
Think about the lifecycle of a price or a policy threshold. If the rule changes weekly, the process for publishing new evidence is part of the application. If a user asks how to read a table, you may instead care about behavior that transfers across many tables with new values. Changing the answer to a weekly question and improving a reusable reading skill call for different tests.
What Retrieval Actually Stores (and Doesn't)
External knowledge is information the system supplies from outside the current model weights. A caller can paste the text of a memo into a prompt. A search service can find the memo in a larger collection. A database can return a structured policy field. In a text-generation system, the chosen text or a serialization of the tool result can be passed in as context. Keeping source metadata on that path lets the application distinguish the caller's assertion from the versioned policy record.
For a retrieval system, separate the source of record, the index, and the request context:
- The source of record can hold a signed revision before search can find it.
- The index exposes the records available to the retriever. A matching record can still fall outside the retrieved set, for example because of ranking or filters.
- The request context contains whatever the application selected and supplied to the generator. Even with the right evidence in context, generation can misread it or omit it.
A timestamp needs a field name. When was a document signed? When did the rule take effect? When could your service retrieve it? A signed memo can be published before its effective date. A later indexing time can reflect ingestion lag while telling you nothing about which revision governs a question.
The original Lewis et al. RAG paper combined a pretrained sequence-to-sequence model with a dense Wikipedia index and fine-tuned its RAG architectures. In the fixed-generator setup discussed here, updating the index or supplying different passages at inference leaves the generator weights unchanged. A citation also depends on how the application records the source and ties the answer to it. A current index can still yield an answer with an unverifiable citation. A citation that points to a real passage can still give an obsolete rule. RAG Evaluation covers ways to measure retrieval and generation separately.
There are several ways search can miss an answer. A source document might never reach the index. It might be indexed but outside the returned set for a query. The application might retrieve the right document and include the wrong excerpt in context. These failures all look like missing evidence to the generator. The query, returned record IDs and supplied passages can show whether a retrieved record reached the prompt. If the record never appeared in the results, use the serving snapshot's membership to distinguish an absent record from one that was indexed. If it was indexed, check candidate and ranking logs or replay the query against that snapshot with its original settings. Membership alone cannot show whether filtering or ranking excluded it. Document Chunking, Dense Retrieval, and Hybrid Search discuss the stages in more detail.
Structured lookup changes the boundary again. If a policy service returns a versioned threshold as a field, the application can display the field directly. If search only returns prose describing how to derive the amount, you may still need an extraction or calculation step. Record which route answered the question, because a source update affects a lookup and an index through different paths.
The Four Intervention Families
The four options describe what changes in the system. The update budget depends on the rest of the release process. A simple prompt patch, for example, may still need to pass the same review as any other change in a consequential workflow.
Prompting
Prompting can change the output on the next request if you already have the relevant information. It competes with the rest of the input for the context budget. Pass the relevant passage along with the task and test whether the model uses it, especially when the answer differs from what it tends to generate unaided.
When the caller provides all the information, test how the prompt handles it before you build a store or change the model. For example, check whether the same extraction instruction works on two formats of the invoice your users upload. In-Context Learning discusses how examples enter that process.
Retrieval-augmented generation (RAG)
RAG moves the evidence selection step outside the generator. Use it when you need to route a query to the relevant subset of a corpus, such as all policy documents for a company. Ingesting a revision makes it eligible for retrieval. Ranking, scope and policy checks still decide whether it reaches the model. A structured lookup is another option when the answer is already available as a field in an authoritative service.
If the passage needs citation, retain the identifier and revision of the passage you give the model. Test recall and grounding separately. A system can retrieve the relevant policy yet cite a different passage, or it can retrieve the old revision and cite it faithfully.
Knowledge editing
Knowledge editing targets a learned association. Meng et al.'s ROME study used a rank-one update to edit factual associations in GPT-style models. The follow-up MEMIT study reported experiments editing thousands of associations in GPT-J and GPT-NeoX. Those results describe their tested models and editing tasks. For a deployment, validate the edited answer across paraphrases and check related and unrelated outputs for side effects.
An edit can be deployed with the model and used without bringing an external document into each request. To test locality, compare the targeted behavior and the related queries you want to preserve. Record which checkpoint carries the edit and which evaluation cases it passed.
Retraining or fine-tuning
Retraining or fine-tuning uses data to change parameter behavior across requests. Consider it when you have a distribution of examples for the desired behavior, such as a new domain task. For an individual policy revision, a controlled lookup can change the value the system uses without replacing the model or requiring it to recall the new value from weights. The fine-tuning fundamentals and continual learning parts cover parameter updates in more detail.
Adding examples for a new task changes a training problem. The resulting checkpoint needs evaluation beyond the new examples. For a volatile fact already maintained by a source system, the release cycle for a checkpoint and the update cycle for the source are often separate concerns.
A comparison at a glance
| Intervention | What changes in this setup | Useful when | Check before relying on it |
|---|---|---|---|
| Prompting | Input supplied for the current request | The caller already has the relevant text or wants to define the task | The context includes the needed passage and the answer stays consistent across request formats |
| RAG | Retrieved evidence supplied for the current request | The collection is too large to include in every request or its contents change | The source, index, retrieved records, and answer agree for the requested time |
| Knowledge editing | Selected parameters or an attached editing component | You want targeted behavior to persist across requests without passing a document each time | The edit works across paraphrases and doesn't alter unrelated answers |
| Retraining or fine-tuning | Parameters learned from a training run | The target behavior spans many examples or tasks | Held-out performance improves and regressions stay within the intended tolerance |
The figure marks the place each intervention changes in this setup. Prompting and retrieval work with the request path and leave this generator checkpoint fixed. Editing and retraining require a changed model artifact. A team could use two interventions together, such as fine-tuning for an output format and retrieving the current value. The row order gives no estimate of latency, cost or edit reliability.
VisualizationOut [3]Expand

For a company memo where the requester already has the signed revision, a direct prompt may suffice. If the requester only has a question and the service needs to search thousands of revisions, the index is part of the solution. If the desired change persists across unrelated requests, the model update options become more relevant. Compare the actual change required in each case rather than assuming a universal ordering by cost.
Reasoning About Conflicting and Delayed Evidence
The difficult case is a conflict between two plausible answers. A trained association might favor the old value, the data source might show the new value, and an informal message might suggest a third one. The workflow should identify the source entitled to set the rule before it selects a number.
Why the model can't be trusted to arbitrate on its own
A model can respond differently to a question as the surrounding text changes. Longpre et al. studied this by replacing answer entities inside input passages. The studies tell you something about behavior under those inputs. They do not give an authorization rule for resolving conflicting signed documents.
A caller can tell a model which source is authoritative, but a label in a generated answer does not prove that the service authenticated the source or chose the right version. Keep evidence admission in application code where possible. Then evaluate model adherence on the output it is responsible for.
Reliable provenance as a first-class input
Provenance gives you a way to trace which record produced the answer. The source identifier and revision say which record to inspect. An effective date says when the rule governs. The observation cutoff says which evidence the system could have used at the time. Authentication, scope, and revocation checks are ways to limit which records can authorize a decision. In the worked example authentication and date validation are done upstream.
There are two separable tests when using a language model after a resolver. The first asks if the policy selected the correct record or reported insufficient evidence. The second asks if the generated response preserved the amount, the citation and any status. The second test can fail even when the first one passes.
The staleness-across-stores trap
Suppose a new policy becomes effective before the document reaches search. A copy in the index can still describe the old rule accurately for past dates. The same copy no longer justifies an answer about the current date. If search misses the new revision, a completion from the old prompt or the model's weights can sound plausible. Without an independent signal that tells you which revision to require, the search snapshot alone cannot establish that it is complete.
Operationally, distinguish a same-day replay from a later audit about which rule applied. The replay uses the records available by the original day's observation cutoff. The audit can use documents observed later, while keeping the policy's requested applicability date. The second use is valuable when an employee asks about an expense filed during a publication delay.
Worked Example: A Delayed Fact with Two Sources
Assume this fictional company has one policy stream for the threshold and treats a signed policy memo as authoritative. The old memo sets $500. A signed revision sets $250 effective June 1, 2024, and reaches the index June 3. A team chat suggests $750. The chat is visible by June 2 but has no authority to set the threshold.
The resolver takes the date the policy must apply and the date that limits which records the service could have seen. It also needs the registry's required revision for the applicable date, using registry information available by that same cutoff. We supply this signal separately from the retrieved records. Without it, the resolver reports that it cannot verify freshness. In production, match the actual policy and revision identifiers. To replay a past answer, retain the registry signal and retrieval results the service had then.
We'll simulate the components, then implement a trust-aware resolver. The example checks an explicit policy and uses a structured value in the response. The notebook models decision logic locally and needs no model endpoint or search service.
Setup and dependencies
The resolver works on dates and immutable evidence records, using two standard-library imports.
PythonIn [4]Expand
from dataclasses import dataclass
from datetime import dateThe example uses structured threshold values in dollars. The fixture supplies signature status and the effective and indexing dates as trusted metadata. The resolver tests those fields. Document authentication and date validation belong upstream. The application can compare the values directly, so the example doesn't run a model to choose the threshold. A model used to word the answer would receive the resolved value and its citation, and the app could validate that the response preserved both.
PythonIn [5]Expand
@dataclass(frozen=True)
class Evidence:
source: str
threshold: int
effective_on: date
indexed_on: date
signed: boolA signed memo can set the threshold. The chat record is available among the candidates but has no signing authority. A separate registry input specifies the required revision date.
PythonIn [6]Expand
old = Evidence("memo-2022", 500, date(2022, 1, 15), date(2022, 1, 15), True)
current = Evidence("memo-2024", 250, date(2024, 6, 1), date(2024, 6, 3), True)
rumor = Evidence("team-chat", 750, date(2024, 5, 1), date(2024, 5, 1), False)
records = [old, current, rumor]The old memo is still a real signed record in the fixture. The comparison needs to tell the difference between seeing an authoritative document and seeing the specific revision that governs the request.
A deterministic trust-aware resolver
Keep signed records whose effective date is at or before the applicable date and whose indexing date is at or before the observation cutoff. Then require a record from the registry's required revision date. If no signed records remain, report their absence. If signed records remain but lack the required revision, report the missing revision. Ask for a decision when two signed records for the required date give different thresholds. Among matching records that agree, select the first source ID in sorted order. For repeated copies with that ID, return the earliest indexed copy so retrieval order cannot change the returned record.
Each successful resolution carries one record for citation. Each other result carries a status and no evidence.
PythonIn [7]Expand
@dataclass(frozen=True)
class Resolution:
status: str
evidence: Evidence | None = NoneNow apply the filtering and conflict checks. A record effective by valid_on can still be unavailable if it was indexed after observed_on.
PythonIn [8]Expand
def resolve_policy(
items: list[Evidence],
valid_on: date,
observed_on: date,
required_effective_on: date | None,
) -> Resolution:
if required_effective_on is None or required_effective_on > valid_on:
return Resolution("freshness unverified")
signed = [
item
for item in items
if item.signed
and item.effective_on <= valid_on
and item.indexed_on <= observed_on
]
if not signed:
return Resolution("no signed evidence")
matching = [
item for item in signed if item.effective_on == required_effective_on
]
if not matching:
return Resolution("required revision missing")
if len({item.threshold for item in matching}) > 1:
return Resolution("conflicting signed evidence")
return Resolution(
"resolved",
min(matching, key=lambda item: (item.source, item.indexed_on)),
)The registry entry can be valid while the matching memo is absent from search. June 2 in this example exposes exactly that state. Returning the older memo as current would conceal the gap. The status instead lets the caller retry a trusted lookup or ask for human confirmation without supplying a threshold.
Building the context with explicit provenance
A response can carry a small set of fields computed from the resolved record. The example would pass those fields to a model only if the user interface needed it to phrase the answer. On failure, the response contains a status that the application can handle without inventing a citation.
PythonIn [9]Expand
def response_record(resolution: Resolution) -> dict:
evidence = resolution.evidence
if evidence is None:
return {"status": resolution.status}
return {
"status": resolution.status,
"threshold_usd": evidence.threshold,
"citation": evidence.source,
"effective_on": evidence.effective_on.isoformat(),
}This keeps the source ID and the amount together through rendering. If a model presents the answer, compare its output with these fields before returning it. Both the resolver and the fields can be tested without a model.
Testing the resolution policy
The first three queries replay what the service could answer on each day, so both date arguments are the same. Then we ask from June 3 what policy applied on June 2. By that cutoff, the June 1 memo is available and can answer the retrospective question. The other cases cover unsigned evidence, an unavailable registry signal and disagreeing signed records.
PythonIn [10]Expand
before = date(2024, 5, 31)
during = date(2024, 6, 2)
after = date(2024, 6, 3)
conflict = Evidence(
"second-signed-memo", 300, current.effective_on, after, True
)
early_copy = Evidence(
"early-indexed-copy", 250, current.effective_on, before, True
)
duplicate = Evidence("archive-copy", 250, current.effective_on, after, True)
repeated_id = Evidence(current.source, 250, current.effective_on, during, True)
scenarios = [
("May 31", resolve_policy(records, before, before, old.effective_on)),
("June 2", resolve_policy(records, during, during, current.effective_on)),
("June 3", resolve_policy(records, after, after, current.effective_on)),
(
"June 2 asked on June 3",
resolve_policy(records, during, after, current.effective_on),
),
("Chat only", resolve_policy([rumor], after, after, current.effective_on)),
("Registry unavailable", resolve_policy(records, after, after, None)),
(
"Conflicting signed memos",
resolve_policy(
records + [conflict], after, after, current.effective_on
),
),
]
assert scenarios[0][1] == Resolution("resolved", old)
assert scenarios[1][1] == Resolution("required revision missing")
assert scenarios[2][1] == Resolution("resolved", current)
assert scenarios[3][1] == Resolution("resolved", current)
assert scenarios[4][1] == Resolution("no signed evidence")
assert scenarios[5][1] == Resolution("freshness unverified")
assert scenarios[6][1] == Resolution("conflicting signed evidence")Next check empty input, early indexing and decisions that should remain stable across different retrieval orders. The response builder has two branches, one for a successful resolution and one for a withheld answer.
PythonIn [11]Expand
assert resolve_policy([], after, after, current.effective_on) == Resolution(
"no signed evidence"
)
assert resolve_policy(
[early_copy, old], before, before, old.effective_on
) == Resolution("resolved", old)
assert resolve_policy(
records, before, before, current.effective_on
) == Resolution("freshness unverified")
assert resolve_policy(
records + [duplicate], after, after, current.effective_on
) == Resolution("resolved", duplicate)
assert resolve_policy(
[duplicate] + records[::-1], after, after, current.effective_on
) == Resolution("resolved", duplicate)
assert resolve_policy(
records + [repeated_id], after, after, current.effective_on
) == Resolution("resolved", repeated_id)
assert resolve_policy(
[repeated_id] + records[::-1], after, after, current.effective_on
) == Resolution("resolved", repeated_id)
question = "What policy applied on June 2?"
later_answer = response_record(scenarios[3][1])
same_day_answer = response_record(scenarios[1][1])
assert later_answer["threshold_usd"] == current.threshold
assert later_answer["citation"] == current.source
assert later_answer["effective_on"] == "2024-06-01"
assert same_day_answer == {"status": "required revision missing"}ConsoleOut [12]Expand
What policy applied on June 2?
{'status': 'resolved', 'threshold_usd': 250, 'citation': 'memo-2024', 'effective_on': '2024-06-01'}
{'status': 'required revision missing'}The retrospective response includes the threshold, its source and the effective date. The report for the same-day query includes only its status. Those are different responses to the same policy date because the observation cutoffs differ.
ConsoleOut [13]Expand
May 31: $500 from memo-2022, effective 2022-01-15 June 2: required revision missing June 3: $250 from memo-2024, effective 2024-06-01 June 2 asked on June 3: $250 from memo-2024, effective 2024-06-01 Chat only: no signed evidence Registry unavailable: freshness unverified Conflicting signed memos: conflicting signed evidence
On May 31, the system can cite the old memo. The same-day replay of June 2 reports a missing revision. From June 3, the system can cite the June 1 revision for both June 2 and June 3. A chat-only result, a missing registry signal and conflicting signed memos each return a different status without a dollar amount.
VisualizationOut [14]Expand

Effective time and availability answer different questions. On June 1 and June 2, the index does not yet contain the signed revision. A later question about what applied on those days can use the revision once it is indexed. If a source publishes its document before the rule takes effect, the order of the two events can reverse. The future-dated test exercises that case.
Why this example generalizes
A retrieval result has to be interpreted relative to its available records and the applicable policy. A missing registry signal means the system cannot verify freshness. A missing revision with a valid registry signal tells an operator which lookup to retry. A conflict among equally eligible signed values needs resolution by the policy owner or another authorized service.
The fixture collapses a policy and revision identity into a single date because it represents one policy stream. An application with several policy scopes should retain both IDs, the effective date and the observation boundary. An operator or support team can then reproduce the source decision by selecting the same scope and using the records observed for that request.
Limitations and Practical Impact
The fixture checks a known-answer policy with structured evidence. It does not measure retrieval accuracy or language-model behavior. For a text-only corpus, check that the extracted value matches the cited passage. Keep the source ID and revision, the two query dates and the passage or structured field used to answer, so an operator can reproduce the result. Treat retrieved passages as evidence and reserve authorization decisions for the application.
Test freshness with questions whose answers change over time. Record whether the correct revision was available, whether it was retrieved, and whether the system used it. Include missing and conflicting evidence cases and measure the rate of unsupported answers alongside answer accuracy. If a source system could be unreachable, measure how often the assistant explicitly declines to answer when it cannot verify the result. This makes a retrieval miss visible even when the model could produce a plausible answer from its weights.
A versioned lookup works well for the expense policy because the company defines one authoritative value for each effective date. Other questions may involve several sources with overlapping scope or equally valid answers. In those cases, state the scope, preserve disagreements, and ask what evidence would let you resolve them. Use the kind of change and the evidence the answer must carry to choose an intervention.
A citation can point to a real document and still be inadequate. It might identify an obsolete revision or point to a paragraph that never gives the requested value. In a document pipeline, keep the exact excerpt that reached the generator and verify that it supports the answer. Where possible, keep the structured source value as well so the output can be compared with it directly.
Inputs from documents and search results can contain text the application should treat as data. Keep decisions about authorization, evidence eligibility and permitted tool actions in the service, where they can be tested independently from language generation. An audit can then inspect the source and trace the controls the application applied.
A site without network access can still supply external information from a local document collection. Offline operation is a deployment constraint you can test separately from the choice to retrieve. A larger corpus can increase coverage without helping a particular request when the relevant passage is missing from top-ranked results. On the intended workload, measure how often the application answers with adequate evidence and how often it declines.
Summary
Parametric knowledge is behavior that a model can express from learned weights, conditioned on the prompt. External information can enter through caller-supplied context, search or a tool result. For a changing policy, keep a versioned source record and distinguish applicability from when the service could see that source.
Use prompting when the caller has the evidence. Add retrieval when the service has to select from a collection. Test editing when the target change should persist in a model artifact and can be checked for side effects. Consider training when the desired behavior spans many examples. The comparison should name the evidence each route can carry and the measurements it needs.
In the expense example, the old memo can answer for May 31. A June 2 replay cannot find the newly effective memo, while a retrospective June 2 question observed on June 3 can use it. The independent registry signal makes the missing revision visible. Keep both dates and the source revision with any resolved value.
Quiz
Ready to test your understanding? Take this quick quiz to reinforce what you've learned about parametric and external knowledge in language model systems.
Parametric and External Knowledge
Join the discussionAsk a question or share what you learned.
Keep exploring
Reference
Citation details
Cite or share this article.


Comments
Add to the conversation
A question, a correction, or an example from your own work.
No comments yet. Be the first to share your thoughts!