Finalize Task Output • AI Agent SDK

finalize_task_output: Store task output in memory with appropriate metadata

finalize_task_output

Method

</div>

This is a method of the Memory class in the memory module.

Store task output in memory with appropriate metadata

Signature

python
def finalize_task_output(content: str, agent_name: str, quality_score: float, threshold: float, metrics: Dict[str, Any], task_id: str) -> Any

Parameters

ParamField str

No description available.

ParamField str

No description available.

ParamField float

No description available.

ParamField float

No description available.

ParamField Dict[str, Any]

No description available.

ParamField str

No description available.

Returns

ResponseField Any

The result of the operation.

Uses

  • logger.info
  • time.time
  • store_short_term
  • logger.error
  • store_long_term

Used By

Source

View on GitHub

praisonaiagents/memory/memory.py at line 1918


Related Documentation