adelete() — langchain Function Reference
Architecture documentation for the adelete() function in base.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 233d194e_da0c_3527_2297_5a9d256afa47["adelete()"] 6c336ac6_f55c_1ad7_6db3_73dbd71fb625["VectorStore"] 233d194e_da0c_3527_2297_5a9d256afa47 -->|defined in| 6c336ac6_f55c_1ad7_6db3_73dbd71fb625 style 233d194e_da0c_3527_2297_5a9d256afa47 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/core/langchain_core/vectorstores/base.py lines 172–183
async def adelete(self, ids: list[str] | None = None, **kwargs: Any) -> bool | None:
"""Async delete by vector ID or other criteria.
Args:
ids: List of IDs to delete. If `None`, delete all.
**kwargs: Other keyword arguments that subclasses might use.
Returns:
`True` if deletion is successful, `False` otherwise, `None` if not
implemented.
"""
return await run_in_executor(None, self.delete, ids, **kwargs)
Domain
Subdomains
Source
Frequently Asked Questions
What does adelete() do?
adelete() is a function in the langchain codebase, defined in libs/core/langchain_core/vectorstores/base.py.
Where is adelete() defined?
adelete() is defined in libs/core/langchain_core/vectorstores/base.py at line 172.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free