Async version of upload_files.
| Name | Type | Description |
|---|---|---|
runtime | object | Default: NoneDeprecated - accepted for backward compatibility but
ignored. Store and context are now obtained via
|
store | BaseStore | None | Default: NoneOptional |
namespace | NamespaceFactory | None | Default: None |
file_format | FileFormat | Default: 'v2' |
| Name | Type |
|---|---|
| runtime | object |
| store | BaseStore | None |
| namespace | NamespaceFactory | None |
| file_format | FileFormat |
Backend that stores files in LangGraph's BaseStore (persistent).
Uses LangGraph's Store for persistent, cross-conversation storage. Files are organized via namespaces and persist across all threads.
The namespace can include an optional assistant_id for multi-agent isolation.
Optional callable that receives a Runtime and returns
a namespace tuple for scoping store operations.
Wildcards (*) are forbidden.
If None, uses legacy assistant_id detection from metadata (deprecated).
Old-style callables that accept BackendContext still work
but are deprecated and will be removed in v0.7.
Storage format version. "v1" (default) stores
content as list[str] (lines split on \\n) without an
encoding field. "v2" stores content as a plain str
with an encoding field.