Skip to content
RAGRAF

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
subjectstr''
predicatestr''
valuestr''
namespacestr'default'
confidencefloat1.0
ttl_daysint0
tagsstr''
pathstr''
taskstr''

What it returns

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