langchain/libs/core/langchain_core/indexing
Keiichi Hirobe 67fd554512
core[patch]: throw exception indexing code if deletion fails in vectorstore (#28103)
The delete methods in the VectorStore and DocumentIndex interfaces
return a status indicating the result. Therefore, we can assume that
their implementations don't throw exceptions but instead return a result
indicating whether the delete operations have failed. The current
implementation doesn't check the returned value, so I modified it to
throw an exception when the operation fails.

---------

Co-authored-by: Eugene Yurtsev <eyurtsev@gmail.com>
2024-12-13 16:14:27 -05:00
..
__init__.py core: added DeleteResponse to the module (#28069) 2024-11-13 11:08:08 -05:00
api.py core[patch]: throw exception indexing code if deletion fails in vectorstore (#28103) 2024-12-13 16:14:27 -05:00
base.py core: Add ruff rules for error messages (EM) (#26965) 2024-10-07 22:12:28 +00:00
in_memory.py core: Add ruff rules for error messages (EM) (#26965) 2024-10-07 22:12:28 +00:00