
Ingest an abstract into a pedogenetic Knowledge Graph
Source:R/causal_llm.R
causal_llm_ingest_abstract.RdWrapper that calls causal_llm_extract() on a single passage and
then adds every returned claim as an edge of the supplied
edaphos_causal_kg. Claims whose confidence is below
min_confidence are discarded.
Arguments
- kg
An
edaphos_causal_kgto update in place.- abstract
Character scalar with the passage to annotate.
- source
Character scalar used as the
sourceattribute of every added edge (a bibliographic key, a DOI, etc.).- min_confidence
Numeric in
[0, 1]. Claims withconfidence < min_confidenceare dropped before insertion.- ...
Forwarded to
causal_llm_extract()(backend,model,host, ...).