mirror of
https://github.com/deepset-ai/haystack.git
synced 2026-01-06 20:17:14 +00:00
docs: fix DocumentLengthRouter usage example (#9652)
Co-authored-by: David S. Batista <dsbatista@gmail.com>
This commit is contained in:
parent
8af4cf8b01
commit
23237f76d2
@ -37,6 +37,7 @@ class DocumentLengthRouter:
|
||||
# "short_documents": [Document(content="Short", ...)],
|
||||
# "long_documents": [Document(content="Long document ...", ...)],
|
||||
# }
|
||||
```
|
||||
"""
|
||||
|
||||
def __init__(self, *, threshold: int = 10) -> None:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user