diff --git a/mind_palace/docs.py b/mind_palace/docs.py index 78218ee..f942180 100644 --- a/mind_palace/docs.py +++ b/mind_palace/docs.py @@ -60,6 +60,7 @@ def body(xml, doc_id): return [ TextNode( text=line, + metadata={"paragraph_number": index + 1}, id_=f"{doc_id}-body-paragraph-{index}", ) for index, line in enumerate(xml.body.split("\n"))