ragraf_fact_store
Edition: pro Capability: memory-facts Operation page: fact_store
What it does
Storing a fact with a key, a version and a lifetime; a second live record for the same key is refused
What problem it solves
Keeps knowledge between sessions with a source, so it does not depend on agent memory.
How to call it
ragraf_fact_store()
ragraf -p config/ragraf.yaml query fact_store
The ellipsis stands for a value the agent supplies; optional parameters can be omitted.
Parameters
| Name | Type | Default |
|---|---|---|
| subject | str | '' |
| predicate | str | '' |
| value | str | '' |
| namespace | str | 'default' |
| confidence | float | 1.0 |
| ttl_days | int | 0 |
| tags | str | '' |
| path | str | '' |
| task | str | '' |
What it returns
The answer is assembled by the operation and described by the envelope.