Store Short Term • AI Agent SDK

store_short_term: Store in ChromaDB (short-term and long-term treated the same).

store_short_term

Method

</div>

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

Store in ChromaDB (short-term and long-term treated the same).

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.

Uses

  • store_long_term

Used By

Source

View on GitHub

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