Skip to main content

calculate_quality_metrics

Method
This is a method of the Memory class in the memory module.
Calculate quality metrics using LLM

Signature

Parameters

str
required
No description available.
str
required
No description available.
Optional[str]
No description available.
Optional[str]
No description available.

Returns

Dict[str, float]
The result of the operation.

Uses

  • logger.info
  • find_spec
  • litellm.completion
  • OpenAI
  • create
  • logger.error
  • json.loads
  • ValueError

Used By

Source

View on GitHub

praisonaiagents/memory/memory.py at line 1965