mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-07-10 18:45:54 +00:00

Improves the documentation code. Standardizes unstructured api key Replaces misc hard coded values Replaces `azureunstructured1` with a generic value
17 lines
484 B
Bash
17 lines
484 B
Bash
#!/usr/bin/env bash
|
|
|
|
EMBEDDING_PROVIDER=${EMBEDDING_PROVIDER:-"langchain-huggingface"}
|
|
|
|
unstructured-ingest \
|
|
local \
|
|
--input-path example-docs/book-war-and-peace-1225p.txt \
|
|
--output-dir local-output-to-azure \
|
|
--strategy fast \
|
|
--chunk-elements \
|
|
--embedding-provider "$EMBEDDING_PROVIDER" \
|
|
--num-processes 2 \
|
|
--verbose \
|
|
azure \
|
|
--account-name "$AZURE_ACCOUNT_NAME" \
|
|
--remote-url "<your destination path here, ie 'az://unstructured/war-and-peace-output'>"
|