-
Notifications
You must be signed in to change notification settings - Fork 944
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ChromaVectorStore write() succeeds in Spring Boot 3.3.4, fails in Spring Boot 3.4.1 #2019
Comments
I’m experiencing the same issue. Could it possibly be related to RestClient? |
Hi @cpage-pivotal @Bofutw , It would be helpful to have a GitHub example to investigate this issue. I just tried to replicate the issue via this example and it works fine with Spring Boot 3.4.1. Let me know what's missing in my test to reproduce the issue. Thanks |
This repo replicates the problem. Hit the /bill/text endpoint. Upgrade from Spring Boot 3.3.4 to Spring Boot 3.4.1 to trigger the bug. |
just a note - If you drop back to using Chroma 0.5.15 you are good with Spring Boot 3.4.1 and Spring AI 1.0.0-M5. |
Closing this as invalid as I learnt the issue from the underlying code passed empty document list in some cases. |
Just to clarify, the code only passed an empty document list in the case where you weren't able to replicate the bug. Specifically, the case where you only passed a String of 5 or fewer characters, like "hello". The bug is reliably replicated in any real-world use case, where we are tokenizing a string that is longer than 5 characters in length. |
Bug description
Running code that creates embeddings and writes them to a Chroma vector store. Code works, but if I upgrade the app from Spring Boot
3.3.4
to3.4.1
, the write fails with:Environment
Spring AI 1.0.0-M5, ChromaDB 0.5.20
Expected behavior
App should continue to work in Spring Boot 3.4.1
Minimal Complete Reproducible example
Code snippet that triggers issue:
The text was updated successfully, but these errors were encountered: