Skip to content

Commit

Permalink
Update other.yml with new node names (#2286)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
agnieszka-m and github-actions[bot] authored Mar 8, 2022
1 parent 4b46f20 commit 255226f
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
29 changes: 29 additions & 0 deletions docs/_src/api/api/other.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

2 changes: 1 addition & 1 deletion docs/_src/api/pydoc/other.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 255226f

Please sign in to comment.