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.35k stars 540 forks source link

Chromadb initialization permission error #691

Open superDSB opened 1 month ago

superDSB commented 1 month 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 1 month ago

Fixed via #713