mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-22 06:39:52 +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.api import IndexingResult, aindex, index
|
||||||
from langchain_core.indexing.base import (
|
from langchain_core.indexing.base import (
|
||||||
|
DeleteResponse,
|
||||||
DocumentIndex,
|
DocumentIndex,
|
||||||
InMemoryRecordManager,
|
InMemoryRecordManager,
|
||||||
RecordManager,
|
RecordManager,
|
||||||
@ -15,6 +16,7 @@ from langchain_core.indexing.base import (
|
|||||||
|
|
||||||
__all__ = [
|
__all__ = [
|
||||||
"aindex",
|
"aindex",
|
||||||
|
"DeleteResponse",
|
||||||
"DocumentIndex",
|
"DocumentIndex",
|
||||||
"index",
|
"index",
|
||||||
"IndexingResult",
|
"IndexingResult",
|
||||||
|
@ -6,6 +6,7 @@ def test_all() -> None:
|
|||||||
assert __all__ == sorted(__all__, key=str.lower)
|
assert __all__ == sorted(__all__, key=str.lower)
|
||||||
assert set(__all__) == {
|
assert set(__all__) == {
|
||||||
"aindex",
|
"aindex",
|
||||||
|
"DeleteResponse",
|
||||||
"DocumentIndex",
|
"DocumentIndex",
|
||||||
"index",
|
"index",
|
||||||
"IndexingResult",
|
"IndexingResult",
|
||||||
|
Loading…
Reference in New Issue
Block a user