I would recommend converting it to a JSONL file, a...
# community-help
j
I would recommend converting it to a JSONL file, and then use the parallel command and curl to upload it. It's documented under the "Shell" tab in this section
Copy code
# If you have a large JSONL file, 
#   you can split the file and 
#   parallelize the import using this one liner:
parallel --block -5 -a documents.jsonl --tmpdir /tmp --pipepart --cat 'curl -H "X-TYPESENSE-API-KEY: ${TYPESENSE_API_KEY}" -X POST -T {} <http://localhost:8108/collections/companies/documents/import?action=create>'
🙌 2