Create Fact
Write a fact directly: a subject, a relation and an object, with no memory behind it and no extraction.
It is not a write without a model. With a model key configured, the relation goes through the store's vocabulary (a model may be asked whether a new relation is one already known, and whether it holds one value at a time), and a current fact goes through the contradiction check: when open facts of the same subject could conflict with it, a model judges them and may close one, named in invalidated. The fact's words reach that model's provider and the calls are billed as any other. When one of those models gives no usable answer nothing is written: 503 model_unavailable, retry.
With no model key, no model is asked and no judge closes anything. A past fact closes the open fact it restates either way.
To end a fact yourself, with the date it stopped being true, use POST /v1/facts/{fact_id}/forget, which asks no model.
Request
- Base URL: https://api.korely.ai
- URL: https://api.korely.ai/v1/facts
- Auth: HTTP bearer
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.