new • Rust AI Agent SDK

new: Create a new memory with the given adapter

new

Method

</div>

This is a method of the Memory class in the memory module.

Create a new memory with the given adapter

Signature

python
def new(adapter: impl MemoryAdapter + 'static, config: MemoryConfig) -> Self

Parameters

ParamField impl MemoryAdapter + 'static

No description available.

ParamField MemoryConfig

No description available.

Returns

ResponseField Self

The result of the operation.