Skip to content

Interface: ClausePolicyProposal

@kortexya/reasoninglayer


@kortexya/reasoninglayer / 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.

const policy: ClausePolicyProposal = {
evidenceSort: 'invoice_case',
resultSort: 'invoice_policy_result',
branches: [],
};

branches: ClausePolicyBranch[]

Defined in: src/types/document-check.ts:341

Alternative sufficient paths.


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: 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.