Skip to content

Commit 23237f7

Browse files
docs: fix DocumentLengthRouter usage example (#9652)
Co-authored-by: David S. Batista <dsbatista@gmail.com>
1 parent 8af4cf8 commit 23237f7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

haystack/components/routers/document_length_router.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ class DocumentLengthRouter:
3737
# "short_documents": [Document(content="Short", ...)],
3838
# "long_documents": [Document(content="Long document ...", ...)],
3939
# }
40+
```
4041
"""
4142

4243
def __init__(self, *, threshold: int = 10) -> None:

0 commit comments

Comments
 (0)