Skip to content

ChromaDB

Testcontainers module for ChromaDB

ChromaDB's usage examples

You can start a ChromaDB container instance from any Java application by using:

ChromaDBContainer chroma = new ChromaDBContainer("chromadb/chroma:0.4.23")

Adding this module to your project dependencies

Add the following dependency to your pom.xml/build.gradle file:

testImplementation "org.testcontainers:chromadb:1.20.4"
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>chromadb</artifactId>
<version>1.20.4</version>
<scope>test</scope>
</dependency>