Overview
LocalFileStore는 선택한 폴더에 모든 것을 저장하는 ByteStore의 영구 구현입니다. 단일 머신을 사용하고 파일이 추가되거나 삭제되는 것을 허용할 수 있는 경우 유용합니다.
Integration details
| Class | Package | Local | JS support | Downloads | Version |
|---|---|---|---|---|---|
| LocalFileStore | langchain | ✅ | ✅ |
Installation
LangChainLocalFileStore integration은 langchain 패키지에 포함되어 있습니다:
Instantiation
이제 byte store를 인스턴스화할 수 있습니다:Usage
mset method를 사용하여 다음과 같이 key 아래에 데이터를 설정할 수 있습니다:
data 폴더에서 생성된 파일을 확인할 수 있습니다:
mdelete method를 사용하여 데이터를 삭제할 수 있습니다:
API reference
모든LocalFileStore 기능과 구성에 대한 자세한 문서는 API reference를 참조하세요: python.langchain.com/api_reference/langchain/storage/langchain.storage.file_system.LocalFileStore.html
Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.