Interface: ClausePolicyProposal
@kortexya/reasoninglayer / ClausePolicyProposal
Interface: ClausePolicyProposal
Section titled “Interface: ClausePolicyProposal”Defined in: src/types/document-check.ts:329
A reviewer’s reading of a clause: the sorts it reads and concludes, and its alternative branches.
Example
Section titled “Example”const policy: ClausePolicyProposal = { evidenceSort: 'invoice_case', resultSort: 'invoice_policy_result', branches: [],};Properties
Section titled “Properties”branches
Section titled “branches”branches:
ClausePolicyBranch[]
Defined in: src/types/document-check.ts:341
Alternative sufficient paths.
evidenceSort
Section titled “evidenceSort”evidenceSort:
string
Defined in: src/types/document-check.ts:334
The sort of the case observations. It must declare a string case_id
and the typed features the conditions read.
resultSort
Section titled “resultSort”resultSort:
string
Defined in: src/types/document-check.ts:339
The sort of the policy results, with string case_id, source_clause,
effect and branch features.