mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-03 09:53:45 +00:00
28 lines
775 B
Text
28 lines
775 B
Text
---
|
|
description: "Local filesystem-based file storage provider for managing files and documents locally."
|
|
sidebar_label: Localfs
|
|
title: inline::localfs
|
|
---
|
|
|
|
# inline::localfs
|
|
|
|
## Description
|
|
|
|
Local filesystem-based file storage provider for managing files and documents locally.
|
|
|
|
## Configuration
|
|
|
|
| Field | Type | Required | Default | Description |
|
|
|-------|------|----------|---------|-------------|
|
|
| `storage_dir` | `str` | No | | Directory to store uploaded files |
|
|
| `metadata_store` | `SqlStoreReference` | No | | SQL store configuration for file metadata |
|
|
| `ttl_secs` | `int` | No | 31536000 | |
|
|
|
|
## Sample Configuration
|
|
|
|
```yaml
|
|
storage_dir: ${env.FILES_STORAGE_DIR:=~/.llama/dummy/files}
|
|
metadata_store:
|
|
table_name: files_metadata
|
|
backend: sql_default
|
|
```
|