Store Long Term • AI Agent SDK

store_long_term: Store text in ChromaDB with embedding.

store_long_term

Method

</div>

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

Store text in ChromaDB with embedding.

Signature

python
def store_long_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

  • embedding
  • RuntimeError
  • time.time_ns
  • add

Used By

Source

View on GitHub

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