From 97479149560696f48d80a8d6fe2478a7ff0169f3 Mon Sep 17 00:00:00 2001 From: Christophe Bornet Date: Wed, 11 Sep 2024 12:22:47 +0200 Subject: [PATCH] Fix references in link extractors docstrings --- .../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 9d567a1f8d418..d682c14a31582 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 270de351e6eac..b554942dd8ad8 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 @@ def __init__(self, *, kind: str = "hyperlink", drop_fragments: bool = True): 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 90a208b9878f0..6642caa422ff2 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 @@ def __init__( 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