Skip to content

Commit

Permalink
core: added DeleteResponse to the module (#28069)
Browse files Browse the repository at this point in the history
Description:
* added `DeleteResponse` to the `langchain_core.indexing` module, for
implementing DocumentIndex classes.
  • Loading branch information
epinzur authored Nov 13, 2024
1 parent c89e7ce commit eadc2f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libs/core/langchain_core/indexing/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

from langchain_core.indexing.api import IndexingResult, aindex, index
from langchain_core.indexing.base import (
DeleteResponse,
DocumentIndex,
InMemoryRecordManager,
RecordManager,
Expand All @@ -15,6 +16,7 @@

__all__ = [
"aindex",
"DeleteResponse",
"DocumentIndex",
"index",
"IndexingResult",
Expand Down
1 change: 1 addition & 0 deletions libs/core/tests/unit_tests/indexing/test_public_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ def test_all() -> None:
assert __all__ == sorted(__all__, key=str.lower)
assert set(__all__) == {
"aindex",
"DeleteResponse",
"DocumentIndex",
"index",
"IndexingResult",
Expand Down

0 comments on commit eadc2f6

Please sign in to comment.