mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-21 22:29:51 +00:00
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:
parent
c89e7ce8b5
commit
eadc2f6a90
@ -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",
|
||||
|
@ -6,6 +6,7 @@ def test_all() -> None:
|
||||
assert __all__ == sorted(__all__, key=str.lower)
|
||||
assert set(__all__) == {
|
||||
"aindex",
|
||||
"DeleteResponse",
|
||||
"DocumentIndex",
|
||||
"index",
|
||||
"IndexingResult",
|
||||
|
Loading…
Reference in New Issue
Block a user