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 |
|---|---|---|
| query | str | required |
| date | str | required |
| limit | int | 20 |
| kind | str | None | None |
| with_text | bool | True |
| text_width | int | 240 |
What it returns
The answer is assembled by the operation and described by the envelope.