From 2ec74fea449286b7b59845332747e014a8ceb0dd Mon Sep 17 00:00:00 2001 From: Asif Mehmood <55317570+AsifMehmood97@users.noreply.github.com> Date: Sun, 11 May 2025 00:43:40 +0500 Subject: [PATCH] docs: update DoctranPropertyExtractor import path and fix typo (#31177) **Description:** Updated the import path for `DoctranPropertyExtractor` from `langchain_community.document_loaders` to `langchain_community.document_transformers` in multiple locations to reflect recent package structure changes. Also corrected a minor typo in the word "variable". **Issue:** N/A **Dependencies:** N/A **LinkedIn handle:** For shout out if announced [Asif Mehmood](https://www.linkedin.com/in/asifmehmood1997/). --- docs/docs/integrations/providers/doctran.mdx | 12 ++++++------ docs/docs/integrations/providers/friendli.mdx | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/docs/integrations/providers/doctran.mdx b/docs/docs/integrations/providers/doctran.mdx index c85844766e1..4710fa497ee 100644 --- a/docs/docs/integrations/providers/doctran.mdx +++ b/docs/docs/integrations/providers/doctran.mdx @@ -1,8 +1,8 @@ # Doctran ->[Doctran](https://github.com/psychic-api/doctran) is a python package. It uses LLMs and open-source -> NLP libraries to transform raw text into clean, structured, information-dense documents -> that are optimized for vector space retrieval. You can think of `Doctran` as a black box where +>[Doctran](https://github.com/psychic-api/doctran) is a python package. It uses LLMs and open-source +> NLP libraries to transform raw text into clean, structured, information-dense documents +> that are optimized for vector space retrieval. You can think of `Doctran` as a black box where > messy strings go in and nice, clean, labelled strings come out. @@ -19,19 +19,19 @@ pip install doctran See a [usage example for DoctranQATransformer](/docs/integrations/document_transformers/doctran_interrogate_document). ```python -from langchain_community.document_loaders import DoctranQATransformer +from langchain_community.document_transformers import DoctranQATransformer ``` ### Property Extractor See a [usage example for DoctranPropertyExtractor](/docs/integrations/document_transformers/doctran_extract_properties). ```python -from langchain_community.document_loaders import DoctranPropertyExtractor +from langchain_community.document_transformers import DoctranPropertyExtractor ``` ### Document Translator See a [usage example for DoctranTextTranslator](/docs/integrations/document_transformers/doctran_translate_document). ```python -from langchain_community.document_loaders import DoctranTextTranslator +from langchain_community.document_transformers import DoctranTextTranslator ``` diff --git a/docs/docs/integrations/providers/friendli.mdx b/docs/docs/integrations/providers/friendli.mdx index 2e8fda9ade2..b988fdbeb07 100644 --- a/docs/docs/integrations/providers/friendli.mdx +++ b/docs/docs/integrations/providers/friendli.mdx @@ -1,6 +1,6 @@ # Friendli AI -> [FriendliAI](https://friendli.ai/) enhances AI application performance and optimizes +> [FriendliAI](https://friendli.ai/) enhances AI application performance and optimizes > cost savings with scalable, efficient deployment options, tailored for high-demand AI workloads. ## Installation and setup @@ -11,8 +11,8 @@ Install the `friendli-client` python package. pip install -U langchain_community friendli-client ``` -Sign in to [Friendli Suite](https://suite.friendli.ai/) to create a Personal Access Token, -and set it as the `FRIENDLI_TOKEN` environment variabzle. +Sign in to [Friendli Suite](https://suite.friendli.ai/) to create a Personal Access Token, +and set it as the `FRIENDLI_TOKEN` environment variable. ## Chat models