spring-projects / spring-ai

An Application Framework for AI Engineering
https://docs.spring.io/spring-ai/reference/1.0-SNAPSHOT/index.html
Apache License 2.0
2.99k stars 739 forks source link

Chromadb initialization permission error #691

Closed superDSB closed 2 months ago

superDSB commented 4 months ago

The location of password uses username. org.springframework.ai.chroma.ChromaApi#withBasicAuthCredentials public ChromaApi withBasicAuthCredentials(String username, String password) { this.restTemplate.getInterceptors().add(new BasicAuthenticationInterceptor(username, username)); return this; }

eddumelendez commented 4 months ago

Fixed via #713