InMemoryByteStore 기능과 구성에 대한 자세한 문서는 API reference를 참조하세요.
Overview
InMemoryByteStore는 Python dictionary에 모든 것을 저장하는 ByteStore의 비영구적 구현입니다. 이는 데모 및 Python 프로세스의 수명을 넘어서는 영속성이 필요하지 않은 경우를 위한 것입니다.
Integration details
| Class | Package | Local | JS support | Downloads | Version |
|---|---|---|---|---|---|
| InMemoryByteStore | langchain-core | ✅ | ✅ |
Installation
LangChainInMemoryByteStore integration은 langchain-core package에 포함되어 있습니다:
Instantiation
이제 byte store를 인스턴스화할 수 있습니다:Usage
mset method를 사용하여 다음과 같이 key 아래에 데이터를 설정할 수 있습니다:
mdelete method를 사용하여 데이터를 삭제할 수 있습니다:
API reference
모든InMemoryByteStore 기능과 구성에 대한 자세한 문서는 API reference를 참조하세요: python.langchain.com/api_reference/core/stores/langchain_core.stores.InMemoryByteStore.html
Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.