mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-07-13 20:15:54 +00:00

Thanks to @mogith-pn from Clarifai we have a new destination connector! This PR intends to add Clarifai as a ingest destination connector. Access via CLI and programmatic. Documentation and Examples. Integration test script.
16 lines
383 B
Bash
16 lines
383 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 "<your clarifai app name>" \
|
|
--user-id "<your clarifai user id>" \
|
|
--api-key "<your clarifai PAT key>" \
|
|
--batch-size 100
|