Skip to content

Conversation

@sergiocharpineljr
Copy link

When retrivieing documents through one of the search methods, the Document.id attribute is not being set. This PR attempts to fix it by properly filling the id attribute.

Before:

>>> vector_store.similarity_search("DRP")[0].id
>>> 

After:

>>> new_vector_store.similarity_search("DRP")[0].id
'ae34ea90-8c48-4990-8a81-6835cb9a021b'
>>> 

@sergiocharpineljr sergiocharpineljr marked this pull request as ready for review August 26, 2025 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant