mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-28 17:38:36 +00:00
docs: update unstructured
install instructions (#8596)
### Summary Updates the `unstructured` install instructions. For `unstructured>=0.9.0`, dependencies are broken out by document type and the base `unstructured` package includes fewer dependencies. `pip install "unstructured[local-inference]"` has been replace by `pip install "unstructured[all-docs]"`, though the `local-inference` extra is still supported for the time being. ### Reviewers - @rlancemartin - @eyurtsev - @hwchase17
This commit is contained in:
parent
73072d3db8
commit
8961c720b8
@ -18,8 +18,7 @@
|
|||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
"# # Install package\n",
|
"# # Install package\n",
|
||||||
"!pip install \"unstructured[local-inference]\"\n",
|
"!pip install \"unstructured[all-docs]\"\n"
|
||||||
"!pip install layoutparser[layoutmodels,tesseract]"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -11,7 +11,9 @@ ecosystem within LangChain.
|
|||||||
If you are using a loader that runs locally, use the following steps to get `unstructured` and
|
If you are using a loader that runs locally, use the following steps to get `unstructured` and
|
||||||
its dependencies running locally.
|
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.
|
- 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.
|
Depending on what document types you're parsing, you may not need all of these.
|
||||||
- `libmagic-dev` (filetype detection)
|
- `libmagic-dev` (filetype detection)
|
||||||
|
Loading…
Reference in New Issue
Block a user