Skip to main content
Version: 0.0.6

agrag.memory.tasks.bound_payload

bound_payload(text:str) -> BoundedPayload

Cut an event payload to the storage limit and hash the full text.

Parameters:

  • text (str) – The full payload.

Returns:

  • BoundedPayload – The stored text, whether it was cut, and the hash of the full text.