mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-12-25 05:58:57 +00:00
Update other.yml with new node names (#2286)
* Update other.yml with new node names * Update Documentation & Code Style Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
4b46f2047b
commit
255226f9fa
@ -34,3 +34,32 @@ The node allows multiple join modes:
|
||||
`weight` & a `top_k` limit can be set. This mode can also be used for "reranking" retrieved documents.
|
||||
* reciprocal_rank_fusion: combines the documents based on their rank in multiple nodes.
|
||||
|
||||
<a id="join_answers"></a>
|
||||
|
||||
# Module join\_answers
|
||||
|
||||
<a id="join_answers.JoinAnswers"></a>
|
||||
|
||||
## JoinAnswers
|
||||
|
||||
```python
|
||||
class JoinAnswers(BaseComponent)
|
||||
```
|
||||
|
||||
A node to join `Answer`s produced by multiple `Reader` nodes.
|
||||
|
||||
<a id="route_documents"></a>
|
||||
|
||||
# Module route\_documents
|
||||
|
||||
<a id="route_documents.RouteDocuments"></a>
|
||||
|
||||
## RouteDocuments
|
||||
|
||||
```python
|
||||
class RouteDocuments(BaseComponent)
|
||||
```
|
||||
|
||||
A node to split a list of `Document`s by `content_type` or by the values of a metadata field and route them to
|
||||
different nodes.
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
loaders:
|
||||
- type: python
|
||||
search_path: [../../../../haystack/nodes/other]
|
||||
modules: ['docs2answers', 'join_docs']
|
||||
modules: ['docs2answers', 'join_docs', 'join_answers', 'route_documents']
|
||||
ignore_when_discovered: ['__init__']
|
||||
processors:
|
||||
- type: filter
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user