Chroma

Prerequisite

  1. Clone Chroma's repositoryarrow-up-right with your terminal

git clone https://github.com/chroma-core/chroma.git
  1. Change directory path to your cloned Chroma

cd chroma
  1. Run docker compose to build up Chroma image and container

docker-compose up -d --build
  1. If success, you will be able to see the docker images spun up:

Setup

Input
Description
Default

Document

Can be connected with nodes from Document Loader

Embeddings

Can be connected with nodes from Embeddings

Collection Name

Chroma collection name. Refer to herearrow-up-right for naming convention

Chroma URL

Specify the URL of your chroma instance

http://localhost:8000

Additional

If you are running both LangFlux and Chroma on Docker, there are additional steps involved.

  1. Spin up Chroma docker first

  1. Open docker-compose.yml in LangFlux

  1. Modify the file to:

  1. Spin up LangFlux docker image

  1. On the Chroma URL, for Windows and MacOS Operating Systems specify http://host.docker.internal:8000arrow-up-right. For Linux based systems the default docker gateway should be used since host.docker.internal is not available: http://172.17.0.1:8000arrow-up-right

Resources

Last updated