Update API docs to include OutputAdapter, OpenAPIServiceConnector and OpenAPIServiceToFunctions (#7076)

This commit is contained in:
Vladimir Blagojevic 2024-02-23 14:34:16 +01:00 committed by GitHub
parent 0a7dfc1b32
commit f5645a4454
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 28 additions and 2 deletions

View File

@ -0,0 +1,26 @@
loaders:
- type: haystack_pydoc_tools.loaders.CustomPythonLoader
search_path: [../../../haystack/components/connectors]
modules: ["openapi_service"]
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: haystack_pydoc_tools.renderers.ReadmePreviewRenderer
excerpt: Various connectors to integrate with external services.
category_slug: haystack-api
title: Connectors
slug: connectors-api
order: 15
markdown:
descriptive_class_title: false
descriptive_module_title: true
add_method_class_prefix: true
add_member_class_prefix: false
filename: connectors_api.md

View File

@ -1,7 +1,7 @@
loaders:
- type: haystack_pydoc_tools.loaders.CustomPythonLoader
search_path: [../../../haystack/components/converters]
modules: ["azure", "html", "markdown", "pypdf", "tika", "txt"]
modules: ["azure", "html", "markdown", "pypdf", "tika", "txt", "output_adapter", "openapi_functions"]
ignore_when_discovered: ["__init__"]
processors:
- type: filter
@ -13,7 +13,7 @@ processors:
- type: crossref
renderer:
type: haystack_pydoc_tools.renderers.ReadmePreviewRenderer
excerpt: Extracts text from files in different formats and converts it into a unified Document format.
excerpt: Various converters to transform data from one format to another.
category_slug: haystack-api
title: Converters
slug: converters-api