unstructured/scripts/chroma-test-helpers/create-and-check-chroma.sh
David Potter 4b8352e0f5
feat: add chroma destination connector (#2240)
Adds Chroma (also known as ChromaDB) as a vector destination.

Currently Chroma is an in-memory single-process oriented library with
plans of a hosted and/or more production ready solution
-https://docs.trychroma.com/deployment

Though they now claim to support multiple Clients hitting the database
at once, I found that it was inconsistent. Sometimes multiprocessing
worked (maybe 1 out of 3 times) But the other times I would get
different errors. So I kept it single process.

---------

Co-authored-by: potter-potter <david.potter@gmail.com>
2023-12-19 16:58:23 +00:00

7 lines
150 B
Bash
Executable File

#!/usr/bin/env bash
set -e
# $1 is the path for chroma to write the contents to. The symbol "&" runs process in background
chroma run --path "$1" &