This version is still in development and is not considered stable yet. For the latest snapshot version, please use Spring AI 1.0.0-SNAPSHOT!spring-doc.cn

Refer to the Dependency Management section to add the Spring AI BOM to your build file.
Refer to the Repositories section to add Milestone and/or Snapshot Repositories to your build file.
this is a breaking change! In earlier versions of Spring AI, this schema initialization happened by default.
Property Description Default value

spring.ai.vectorstore.chroma.client.hostspring-doc.cn

Server connection hostspring-doc.cn

localhostspring-doc.cn

spring.ai.vectorstore.chroma.client.portspring-doc.cn

Server connection portspring-doc.cn

8000spring-doc.cn

spring.ai.vectorstore.chroma.client.key-tokenspring-doc.cn

Access token (if configured)spring-doc.cn

-spring-doc.cn

spring.ai.vectorstore.chroma.client.usernamespring-doc.cn

Access username (if configured)spring-doc.cn

-spring-doc.cn

spring.ai.vectorstore.chroma.client.passwordspring-doc.cn

Access password (if configured)spring-doc.cn

-spring-doc.cn

spring.ai.vectorstore.chroma.collection-namespring-doc.cn

Collection namespring-doc.cn

SpringAiCollectionspring-doc.cn

spring.ai.vectorstore.chroma.initialize-schemaspring-doc.cn

Whether to initialize the required schemaspring-doc.cn

falsespring-doc.cn

For ChromaDB secured with Static API Token Authentication use the ChromaApi#withKeyToken(<Your Token Credentials>) method to set your credentials. Check the ChromaWhereIT for an example.spring-doc.cn

For ChromaDB secured with Basic Authentication use the ChromaApi#withBasicAuth(<your user>, <your password>) method to set your credentials. Check the BasicAuthChromaWhereIT for an example.spring-doc.cn

Those (portable) filter expressions get automatically converted into the proprietary Chroma where filter expressions.
Refer to the Dependency Management section to add the Spring AI BOM to your build file.