chromaDb usually keeps it as default_tenant and default_database, for the tenant and database.
This should be the same in Spring AI.
Otherwise, allow overriding through application properties. Like -
spring.ai.vectorstore.chroma.client.tenant=default_tenant
spring.ai.vectorstore.chroma.client.database=default_database
Current Behavior
At present,
public static final String DEFAULT_TENANT_NAME = "SpringAiTenant";
public static final String DEFAULT_DATABASE_NAME = "SpringAiDatabase";
not able to override through application properties.
Even the logs are misleading somehow-
log:
Collection <collection_name> doesn't exist and won't be created as the initializeSchema is set to false.
Log does not mention the tenant or database under which it is trying to search the collection.
Context