Bug description
The problem is in auto-configurations/vector-stores/spring-ai-autoconfigure-vector-store-chroma/src/main/java/org/springframework/ai/vectorstore/chroma/autoconfigure/ChromaVectorStoreAutoConfiguration.java
The vectorStore bean definition does not set the tenantName and databaseName (only collectionName).
The necessary values are in storeProperties (just like with collectionName).
(I think these properties are also not documented?)
I found this when my application crashed and the logs showed this URL: http://localhost:8008/api/v2/tenants/SpringAiTenant/databases/SpringAiDatabase/collections/knowledge
The tenant and database are wrong even though I set them in my application.yml
The collection name is correct: 'knowledge'
I think the code should look something like this:
