RedisStore 기능과 구성에 대한 자세한 문서는 API reference를 참조하세요.
Overview
RedisStore는 Redis 인스턴스에 모든 것을 저장하는 ByteStore의 구현체입니다.
Integration details
| Class | Package | Local | JS support | Downloads | Version |
|---|---|---|---|---|---|
| RedisStore | langchain-community | ✅ | ✅ |
Setup
Redis byte store를 생성하려면 Redis 인스턴스를 설정해야 합니다. 로컬에서 또는 프로바이더를 통해 설정할 수 있습니다 - 옵션에 대한 개요는 Redis 가이드를 참조하세요.Installation
LangChainRedisStore integration은 langchain-community 패키지에 포함되어 있습니다:
Instantiation
이제 byte store를 인스턴스화할 수 있습니다:Usage
mset 메서드를 사용하여 다음과 같이 key 아래에 데이터를 설정할 수 있습니다:
mdelete 메서드를 사용하여 데이터를 삭제할 수 있습니다:
API reference
모든RedisStore 기능과 구성에 대한 자세한 문서는 API reference를 참조하세요: python.langchain.com/api_reference/community/storage/langchain_community.storage.redis.RedisStore.html
Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.