git clone [email protected]:chroma-core/chroma.git
Edit the docker-compose.yml
and add ALLOW_RESET=TRUE under environment
...
command: uvicorn chromadb.app:app --reload --workers 1 --host 0.0.0.0 --port 8000 --log-config log_config.yml
environment:
- IS_PERSISTENT=TRUE
- ALLOW_RESET=TRUE
ports:
- 8000:8000
...
docker-compose up -d --build
pip install -r requirements.txt
python chromadb_cli.py load_n_split_doc --filename="https://lilianweng.github.io/posts/2023-06-23-agent/"
python chromadb_cli.py load_doc_to_db --filename="https://lilianweng.github.io/posts/2023-06-23-agent/"
python chromadb_cli.py perform_search --query=what is Perceptual duplicates?