Skip to content
RAGRAF

ragraf_compact

Edition: community Capability: audit Operation page: compact

What it does

Retention policy: how much `.ragraf` takes up and what can be removed

What problem it solves

Returns disk space, showing the plan and the cost before anything is removed.

How to call it

ragraf_compact()
ragraf -p config/ragraf.yaml query compact

The ellipsis stands for a value the agent supplies; optional parameters can be omitted.

Parameters

Name Type Default
applyboolFalse
vacuumbool | NoneNone
retainint | NoneNone

What it returns

The answer is assembled by the operation and described by the envelope.