Store Short Term • AI Agent SDK

store_short_term: Store in MongoDB short-term collection.

store_short_term

Method

</div>

This is a method of the MongoDBMemoryAdapter class in the factories module.

Store in MongoDB short-term collection.

Signature

python
def store_short_term(text: str, metadata: Optional[Dict[str, Any]]) -> str

Parameters

ParamField str

No description available.

ParamField Optional

No description available.

Returns

ResponseField str

The result of the operation.

Used By

Source

View on GitHub

praisonaiagents/memory/adapters/factories.py at line 583