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
16 lines
363 B
Bash
16 lines
363 B
Bash
#!/usr/bin/env bash
|
|
|
|
unstructured-ingest \
|
|
local \
|
|
--input-path example-docs/book-war-and-peace-1225p.txt \
|
|
--output-dir local-output-to-clarifai \
|
|
--strategy fast \
|
|
--chunk-elements \
|
|
--num-processes 2 \
|
|
--verbose \
|
|
clarifai \
|
|
--app-id "$CLARIFAI_APP_ID" \
|
|
--user-id "$CLARIFAI_USER_ID" \
|
|
--api-key "$CLARIFAI_PAT_KEY" \
|
|
--batch-size 100
|