docs: close Document ID migration code fence (#13140)

This commit is contained in:
Ayush Tiwari
2026-10-09 11:39:22 +00:00
committed by GitHub
parent c00c50296a
commit 54d7580c42
+1
View File
@@ -1028,6 +1028,7 @@ from haystack.dataclasses import Document
# these two documents could end up with different IDs.
doc1 = Document(content="Berlin is the capital of Germany.", meta={"source": "wiki", "lang": "en"})
doc2 = Document(content="Berlin is the capital of Germany.", meta={"lang": "en", "source": "wiki"})
```
After (v3.0):
```python