mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-07-10 02:25:55 +00:00

Thanks to Ofer at Vectara, we now have a Vectara destination connector. - There are no dependencies since it is all REST calls to API - --------- Co-authored-by: potter-potter <david.potter@gmail.com>
16 lines
413 B
Bash
16 lines
413 B
Bash
#!/usr/bin/env bash
|
|
|
|
unstructured-ingest \
|
|
local \
|
|
--input-path example-docs/book-war-and-peace-1225p.txt \
|
|
--output-dir local-output-to-vectara \
|
|
--strategy fast \
|
|
--chunk-elements \
|
|
--num-processes 2 \
|
|
--verbose \
|
|
vectara \
|
|
--customer-id "$VECTARA_CUSTOMER_ID" \
|
|
--oauth-client-id "$VECTARA_OAUTH_CLIENT_ID" \
|
|
--oauth-secret "$VECTARA_OAUTH_SECRET" \
|
|
--corpus-name "test-corpus-vectara"
|