Skip to content
RAGRAF

ragraf_doc_asof

Edition: pro Capability: provenance Operation page: doc_asof

What it does

Search across documents valid on a date (the validity interval)

What problem it solves

Answers from documents valid on a given date, not from the latest revision.

How to call it

ragraf_doc_asof(query=…, date=…)
ragraf -p config/ragraf.yaml query doc_asof <query> <date>

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

Parameters

Name Type Default
querystrrequired
datestrrequired
limitint20
kindstr | NoneNone
with_textboolTrue
text_widthint240

What it returns

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