spring-ai icon indicating copy to clipboard operation
spring-ai copied to clipboard

feat: refactor MongoDBAtlasVectorStore to use org.bson.Document for saving embeddings

Open liugddx opened this issue 2 months ago • 5 comments

Close #4823

liugddx avatar Nov 07 '25 13:11 liugddx

PTAL @ilayaperumalg

liugddx avatar Nov 07 '25 13:11 liugddx

@JustAnyones Please take a look. Thanks~

liugddx avatar Nov 11 '25 05:11 liugddx

Hello, with this PR, document saving now respects the specified pathName for vector embedding storage.

JustAnyones avatar Nov 12 '25 07:11 JustAnyones

Hi @liugddx, thanks for this contribution!

Could you add (or modify) a test that shows that this fix is effective? Also, seems that the MongoDocument record is no longer needed.

ericbottard avatar Nov 12 '25 14:11 ericbottard

Hi @liugddx, thanks for this contribution!

Could you add (or modify) a test that shows that this fix is effective? Also, seems that the MongoDocument record is no longer needed.

Hi @ericbottard , thanks for the comment !

I have fixed it.

liugddx avatar Nov 13 '25 00:11 liugddx