diff --git a/docs/extras/integrations/document_loaders/unstructured_file.ipynb b/docs/extras/integrations/document_loaders/unstructured_file.ipynb index 566fa0278..4653d1f41 100644 --- a/docs/extras/integrations/document_loaders/unstructured_file.ipynb +++ b/docs/extras/integrations/document_loaders/unstructured_file.ipynb @@ -18,8 +18,7 @@ "outputs": [], "source": [ "# # Install package\n", - "!pip install \"unstructured[local-inference]\"\n", - "!pip install layoutparser[layoutmodels,tesseract]" + "!pip install \"unstructured[all-docs]\"\n" ] }, { diff --git a/docs/extras/integrations/providers/unstructured.mdx b/docs/extras/integrations/providers/unstructured.mdx index 8a6699e25..b0bccdbc9 100644 --- a/docs/extras/integrations/providers/unstructured.mdx +++ b/docs/extras/integrations/providers/unstructured.mdx @@ -11,7 +11,9 @@ ecosystem within LangChain. If you are using a loader that runs locally, use the following steps to get `unstructured` and its dependencies running locally. -- Install the Python SDK with `pip install "unstructured[local-inference]"` +- Install the Python SDK with `pip install unstructured`. + - You can install document specific dependencies with extras, i.e. `pip install "unstructured[docx]"`. + - To install the dependencies for all document types, use `pip install "unstructured[all-docs]"`. - Install the following system dependencies if they are not already available on your system. Depending on what document types you're parsing, you may not need all of these. - `libmagic-dev` (filetype detection)