Skip to content

The agent engineering platform.

docs: update DoctranPropertyExtractor import path and fix typo (#31177)

Asif Mehmood2ec74fea4492
diff --git a/docs/docs/integrations/providers/doctran.mdx b/docs/docs/integrations/providers/doctran.mdx
index c85844766e..4710fa497e 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 2e8fda9ade..b988fdbeb0 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