haystack/docs/pydoc/config/reader.yml
Daria Fokina 99cb95a63a
docs: separate abstract classes into separate API references (#5501)
* separate_abstractions

* img-to-text parent slug upd

* Apply suggestions from code review

Co-authored-by: Massimiliano Pippi <mpippi@gmail.com>

---------

Co-authored-by: Massimiliano Pippi <mpippi@gmail.com>
2023-08-07 12:21:25 +02:00

27 lines
789 B
YAML

loaders:
- type: loaders.CustomPythonLoader
search_path: [../../../haystack/nodes/reader]
modules: ["farm", "transformers", "table"]
ignore_when_discovered: ["__init__"]
processors:
- type: filter
expression:
documented_only: true
do_not_filter_modules: false
skip_empty_modules: true
- type: smart
- type: crossref
renderer:
type: renderers.ReadmeRenderer
excerpt: Takes a question and a set of Documents as input and returns an Answer by selecting a text span within the Documents.
category_slug: haystack-classes
title: Reader API
slug: reader-api
order: 160
markdown:
descriptive_class_title: false
descriptive_module_title: true
add_method_class_prefix: true
add_member_class_prefix: false
filename: reader_api.md