core: added DeleteResponse to the module (#28069)

Description:
* added `DeleteResponse` to the `langchain_core.indexing` module, for
implementing DocumentIndex classes.
This commit is contained in:
Eric Pinzur 2024-11-13 17:08:08 +01:00 committed by GitHub
parent c89e7ce8b5
commit eadc2f6a90
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View File

@ -7,6 +7,7 @@ if it's unchanged.
from langchain_core.indexing.api import IndexingResult, aindex, index
from langchain_core.indexing.base import (
DeleteResponse,
DocumentIndex,
InMemoryRecordManager,
RecordManager,
@ -15,6 +16,7 @@ from langchain_core.indexing.base import (
__all__ = [
"aindex",
"DeleteResponse",
"DocumentIndex",
"index",
"IndexingResult",

View File

@ -6,6 +6,7 @@ def test_all() -> None:
assert __all__ == sorted(__all__, key=str.lower)
assert set(__all__) == {
"aindex",
"DeleteResponse",
"DocumentIndex",
"index",
"IndexingResult",