Skip to main content

store_long_term

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

Signature

Parameters

str
required
No description available.
Dict
No description available.
float
No description available.
float
No description available.
float
No description available.
float
No description available.
Dict
No description available.
float
No description available.

Returns

Any
The result of the operation.

Uses

  • logger.info
  • time.time_ns
  • time.time
  • datetime.utcnow
  • insert_one
  • logger.error
  • sqlite3.connect
  • conn.execute
  • json.dumps
  • conn.commit

Used By

Source

View on GitHub

praisonaiagents/memory/memory.py at line 764