InMemoryByteStore 的全部能力请参阅 API 参考。
Overview
InMemoryByteStore 是非持久化实现,所有数据存放在 Python 字典中,适用于演示或对进程结束后无需保存数据的场景。
Integration details
| Class | Package | Local | JS support | Downloads | Version |
|---|---|---|---|---|---|
| InMemoryByteStore | langchain-core | ✅ | ✅ |
安装
该集成位于langchain-core 包:
实例化
直接实例化:用法
使用mset 写入:
mdelete 删除:
API 参考
更多InMemoryByteStore 细节请参考 API 文档。