mirror of
https://github.com/deepset-ai/haystack.git
synced 2026-10-11 22:40:01 +00:00
docs: close Document ID migration code fence (#13140)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user