mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-07-03 23:20:35 +00:00
18 lines
483 B
Bash
18 lines
483 B
Bash
![]() |
#!/usr/bin/env bash
|
||
|
|
||
|
unstructured-ingest \
|
||
|
local \
|
||
|
--input-path example-docs/book-war-and-peace-1p.txt \
|
||
|
--output-dir local-to-pinecone \
|
||
|
--strategy fast \
|
||
|
--chunk-elements \
|
||
|
--embedding-provider "<unstructured embedding provider, ie. langchain-huggingface>" \
|
||
|
--num-processes 2 \
|
||
|
--verbose \
|
||
|
--work-dir "<directory for intermediate outputs to be saved>" \
|
||
|
chroma \
|
||
|
--host "localhost" \
|
||
|
--port 8000 \
|
||
|
--collection-name "collection name" \
|
||
|
--batch-size 80
|