From c6bdd6f48287138bb872791dbbd9e277408093c6 Mon Sep 17 00:00:00 2001 From: Christophe Bornet Date: Tue, 17 Sep 2024 23:26:25 +0200 Subject: [PATCH] community: Fix references in link extractors docstrings (#26314) Co-authored-by: Erick Friis --- .../graph_vectorstores/extractors/gliner_link_extractor.py | 2 +- .../graph_vectorstores/extractors/html_link_extractor.py | 2 +- .../graph_vectorstores/extractors/keybert_link_extractor.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/community/langchain_community/graph_vectorstores/extractors/gliner_link_extractor.py b/libs/community/langchain_community/graph_vectorstores/extractors/gliner_link_extractor.py index 9d567a1f8d4..d682c14a315 100644 --- a/libs/community/langchain_community/graph_vectorstores/extractors/gliner_link_extractor.py +++ b/libs/community/langchain_community/graph_vectorstores/extractors/gliner_link_extractor.py @@ -87,7 +87,7 @@ class GLiNERLinkExtractor(LinkExtractor[GLiNERInput]): Using LinkExtractorTransformer ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Using the :class:`~langchain_community.graph_vectorstores.extractors.keybert_link_extractor.LinkExtractorTransformer`, + Using the :class:`~langchain_community.graph_vectorstores.extractors.link_extractor_transformer.LinkExtractorTransformer`, we can simplify the link extraction:: from langchain_community.document_loaders import TextLoader diff --git a/libs/community/langchain_community/graph_vectorstores/extractors/html_link_extractor.py b/libs/community/langchain_community/graph_vectorstores/extractors/html_link_extractor.py index 270de351e6e..b554942dd8a 100644 --- a/libs/community/langchain_community/graph_vectorstores/extractors/html_link_extractor.py +++ b/libs/community/langchain_community/graph_vectorstores/extractors/html_link_extractor.py @@ -176,7 +176,7 @@ class HtmlLinkExtractor(LinkExtractor[HtmlInput]): Using LinkExtractorTransformer ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Using the :class:`~langchain_community.graph_vectorstores.extractors.keybert_link_extractor.LinkExtractorTransformer`, + Using the :class:`~langchain_community.graph_vectorstores.extractors.link_extractor_transformer.LinkExtractorTransformer`, we can simplify the link extraction:: from langchain_community.document_loaders import AsyncHtmlLoader diff --git a/libs/community/langchain_community/graph_vectorstores/extractors/keybert_link_extractor.py b/libs/community/langchain_community/graph_vectorstores/extractors/keybert_link_extractor.py index 90a208b9878..6642caa422f 100644 --- a/libs/community/langchain_community/graph_vectorstores/extractors/keybert_link_extractor.py +++ b/libs/community/langchain_community/graph_vectorstores/extractors/keybert_link_extractor.py @@ -91,7 +91,7 @@ class KeybertLinkExtractor(LinkExtractor[KeybertInput]): Using LinkExtractorTransformer ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - Using the :class:`~langchain_community.graph_vectorstores.extractors.keybert_link_extractor.LinkExtractorTransformer`, + Using the :class:`~langchain_community.graph_vectorstores.extractors.link_extractor_transformer.LinkExtractorTransformer`, we can simplify the link extraction:: from langchain_community.document_loaders import TextLoader