ragraf_fact_replace
Edition: pro Capability: memory-facts Operation page: fact_replace
What it does
Replacing a fact's value: a new version, the previous one kept in history with its reason
What problem it solves
Replaces an outdated fact with a new one, keeping the old record in history.
How to call it
ragraf_fact_replace()
ragraf -p config/ragraf.yaml query fact_replace
The ellipsis stands for a value the agent supplies; optional parameters can be omitted.
Parameters
| Name | Type | Default |
|---|---|---|
| fact_id | str | '' |
| value | str | '' |
| reason | str | '' |
| confidence | float | None | None |
| ttl_days | int | None | None |
What it returns
The answer is assembled by the operation and described by the envelope.