TypeClaim does not need to rewrite the quote/verbatim

This commit is contained in:
2026-11-01 17:12:32 +01:00
parent 4e7229c92c
commit 3d541ec8d6
5 changed files with 112 additions and 88 deletions
+3 -3
View File
@@ -1287,9 +1287,9 @@ class KnowledgeExpert:
if self.cfg.extract_mode == "two_pass":
# two-pass (26/10; verbatim moved 1/11): Pass 1 claims WITH
# their VERBATIM quotes (extracted while the text is in
# front of the model), Pass 2 one typed Fact per claim —
# TYPING only, the verbatim enters as an input and the TYPE
# call no longer carries the chunk.
# front of the model), Pass 2 one typed fact per claim —
# TYPING only, the model sees JUST the claim (FactNoQuote);
# code composes the Fact: FactNoQuote + verbatim.
claims = claims_from(self, entities=ent_str,
heading=chunk.heading_path,
text=chunk.text, charge_llm=charge_llm)