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.22")

Adding this module to your project dependencies

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

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