From 64ea9146ef0bf3744a64517db4d90d6976f16b39 Mon Sep 17 00:00:00 2001 From: Darja Fokina Date: Mon, 12 Feb 2024 16:53:03 +0100 Subject: [PATCH 1/4] docs: update paths and titles --- integrations/deepeval/pydoc/config.yml | 4 ++-- integrations/fastembed/pydoc/config.yml | 9 +++++---- integrations/instructor_embedders/pydoc/config.yml | 9 +++++---- integrations/jina/pydoc/config.yml | 6 +++++- integrations/uptrain/pydoc/config.yml | 2 +- 5 files changed, 18 insertions(+), 12 deletions(-) diff --git a/integrations/deepeval/pydoc/config.yml b/integrations/deepeval/pydoc/config.yml index 9ffaa7b80..1c69c9f8c 100644 --- a/integrations/deepeval/pydoc/config.yml +++ b/integrations/deepeval/pydoc/config.yml @@ -19,9 +19,9 @@ renderer: type: haystack_pydoc_tools.renderers.ReadmePreviewRenderer excerpt: DeepEval integration for Haystack category_slug: haystack-integrations - title: Chroma + title: DeepEval slug: integrations-deepeval - order: 1 + order: 45 markdown: descriptive_class_title: false descriptive_module_title: true diff --git a/integrations/fastembed/pydoc/config.yml b/integrations/fastembed/pydoc/config.yml index 3e491eac2..4c70d1fcf 100644 --- a/integrations/fastembed/pydoc/config.yml +++ b/integrations/fastembed/pydoc/config.yml @@ -3,8 +3,9 @@ loaders: search_path: [../src] modules: [ - "haystack_integrations.components.embedders.fastembed", - "haystack_integrations.components.embedders.fastembed.embedding_backend", + "haystack_integrations.components.embedders.fastembed.fastembed_document_embedder", + "haystack_integrations.components.embedders.fastembed.fastembed_text_embedder", + "haystack_integrations.components.embedders.fastembed.embedding_backend.fastembed_backend", ] ignore_when_discovered: ["__init__"] processors: @@ -17,9 +18,9 @@ processors: - type: crossref renderer: type: haystack_pydoc_tools.renderers.ReadmePreviewRenderer - excerpt: Embedders integration for Haystack + excerpt: FastEmbed integration for Haystack category_slug: haystack-integrations - title: Embedders + title: FastEmbed slug: fastembed-embedders order: 300 markdown: diff --git a/integrations/instructor_embedders/pydoc/config.yml b/integrations/instructor_embedders/pydoc/config.yml index cc16a72f7..b898bd5da 100644 --- a/integrations/instructor_embedders/pydoc/config.yml +++ b/integrations/instructor_embedders/pydoc/config.yml @@ -3,8 +3,9 @@ loaders: search_path: [../src] modules: [ - "haystack_integrations.components.embedders.instructor_embedders", - "haystack_integrations.components.embedders.instructor_embedders.embedding_backend", + "haystack_integrations.components.embedders.instructor_embedders.instructor_document_embedder", + "haystack_integrations.components.embedders.instructor_embedders.instructor_text_embedder", + "haystack_integrations.components.embedders.instructor_embedders.embedding_backend.instructor_backend", ] ignore_when_discovered: ["__init__"] processors: @@ -17,9 +18,9 @@ processors: - type: crossref renderer: type: haystack_pydoc_tools.renderers.ReadmePreviewRenderer - excerpt: Embedders integration for Haystack + excerpt: Instructor integration for Haystack category_slug: haystack-integrations - title: Embedders + title: Instructor slug: integrations-instructor-embedders order: 90 markdown: diff --git a/integrations/jina/pydoc/config.yml b/integrations/jina/pydoc/config.yml index 8d4943d5f..5c641c6dc 100644 --- a/integrations/jina/pydoc/config.yml +++ b/integrations/jina/pydoc/config.yml @@ -1,7 +1,11 @@ loaders: - type: haystack_pydoc_tools.loaders.CustomPythonLoader search_path: [../src] - modules: ["haystack_integrations.components.embedders.jina"] + modules: + [ + "haystack_integrations.components.embedders.jina.document_embedder", + "haystack_integrations.components.embedders.jina.text_embedder", + ] ignore_when_discovered: ["__init__"] processors: - type: filter diff --git a/integrations/uptrain/pydoc/config.yml b/integrations/uptrain/pydoc/config.yml index c2e7f8da0..0da9ecd16 100644 --- a/integrations/uptrain/pydoc/config.yml +++ b/integrations/uptrain/pydoc/config.yml @@ -21,7 +21,7 @@ renderer: category_slug: haystack-integrations title: UpTrain slug: integrations-uptrain - order: 1 + order: 175 markdown: descriptive_class_title: false descriptive_module_title: true From 8b9b5996816554159dfe4a61a9f4170a4fcaa5da Mon Sep 17 00:00:00 2001 From: Daria Fokina Date: Mon, 12 Feb 2024 16:56:13 +0100 Subject: [PATCH 2/4] Update config.yml --- integrations/fastembed/pydoc/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/fastembed/pydoc/config.yml b/integrations/fastembed/pydoc/config.yml index 4c70d1fcf..784c7f0f9 100644 --- a/integrations/fastembed/pydoc/config.yml +++ b/integrations/fastembed/pydoc/config.yml @@ -22,7 +22,7 @@ renderer: category_slug: haystack-integrations title: FastEmbed slug: fastembed-embedders - order: 300 + order: 55 markdown: descriptive_class_title: false descriptive_module_title: true From 1e13de0af322ed6a31f9cc2b79b926e74ba4cf4c Mon Sep 17 00:00:00 2001 From: Daria Fokina Date: Mon, 12 Feb 2024 17:09:53 +0100 Subject: [PATCH 3/4] Apply suggestions (delete backends) Co-authored-by: Stefano Fiorucci --- integrations/fastembed/pydoc/config.yml | 1 - integrations/instructor_embedders/pydoc/config.yml | 1 - 2 files changed, 2 deletions(-) diff --git a/integrations/fastembed/pydoc/config.yml b/integrations/fastembed/pydoc/config.yml index 784c7f0f9..10b30e507 100644 --- a/integrations/fastembed/pydoc/config.yml +++ b/integrations/fastembed/pydoc/config.yml @@ -5,7 +5,6 @@ loaders: [ "haystack_integrations.components.embedders.fastembed.fastembed_document_embedder", "haystack_integrations.components.embedders.fastembed.fastembed_text_embedder", - "haystack_integrations.components.embedders.fastembed.embedding_backend.fastembed_backend", ] ignore_when_discovered: ["__init__"] processors: diff --git a/integrations/instructor_embedders/pydoc/config.yml b/integrations/instructor_embedders/pydoc/config.yml index b898bd5da..e294bb121 100644 --- a/integrations/instructor_embedders/pydoc/config.yml +++ b/integrations/instructor_embedders/pydoc/config.yml @@ -5,7 +5,6 @@ loaders: [ "haystack_integrations.components.embedders.instructor_embedders.instructor_document_embedder", "haystack_integrations.components.embedders.instructor_embedders.instructor_text_embedder", - "haystack_integrations.components.embedders.instructor_embedders.embedding_backend.instructor_backend", ] ignore_when_discovered: ["__init__"] processors: From 220780784cf54d4e1db7e267872785e5958e0e4b Mon Sep 17 00:00:00 2001 From: Daria Fokina Date: Mon, 12 Feb 2024 17:11:37 +0100 Subject: [PATCH 4/4] Update config.yml --- integrations/instructor_embedders/pydoc/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integrations/instructor_embedders/pydoc/config.yml b/integrations/instructor_embedders/pydoc/config.yml index e294bb121..b9c6bc76b 100644 --- a/integrations/instructor_embedders/pydoc/config.yml +++ b/integrations/instructor_embedders/pydoc/config.yml @@ -17,9 +17,9 @@ processors: - type: crossref renderer: type: haystack_pydoc_tools.renderers.ReadmePreviewRenderer - excerpt: Instructor integration for Haystack + excerpt: Instructor embedders integration for Haystack category_slug: haystack-integrations - title: Instructor + title: Instructor Embedders slug: integrations-instructor-embedders order: 90 markdown: