LemonMemory.Safety (lemon_memory v0.1.0)

View Source

Shared safety checks for durable memory documents.

Summary

Functions

Returns true when text contains common secret-looking material.

Returns true when the memory document summaries are safe to store or mine.

Functions

contains_secret?(text)

@spec contains_secret?(term()) :: boolean()

Returns true when text contains common secret-looking material.

safe_document?(document)

@spec safe_document?(LemonMemory.Document.t()) :: boolean()

Returns true when the memory document summaries are safe to store or mine.