Skip to main content

store_short_term

Method
This is a method of the Memory class in the memory module.
Store in short-term memory with optional quality metrics

Signature

Parameters

str
required
No description available.
Dict[str, Any]
No description available.
float
No description available.
float
No description available.
float
No description available.
float
No description available.
Dict[str, float]
No description available.
float
No description available.

Returns

Any
The result of the operation.

Uses

  • logger.info
  • time.time_ns
  • time.time
  • store_short_term
  • logger.warning
  • datetime.now
  • insert_one
  • logger.error
  • conn.execute
  • json.dumps

Used By

Source

View on GitHub

praisonaiagents/memory/memory.py at line 522