Interface: AddRuleResponse
@kortexya/reasoninglayer / AddRuleResponse
Interface: AddRuleResponse
Section titled “Interface: AddRuleResponse”Defined in: src/types/inference.ts:1164
Response from adding a rule.
Remarks
Section titled “Remarks”The created rule is wrapped in a term field.
Properties
Section titled “Properties”
optionaletag?:string
Defined in: src/types/inference.ts:1177
The rule’s content tag (sha256-<hex>), from the ETag response header:
pass it as ifMatch to InferenceClient.deleteRule or
InferenceClient.replaceRule.
Remarks
Section titled “Remarks”Not part of the response body. Absent when the engine sends no header: the rule is written, but the read that tags the response failed after the write committed. Read the tag from RuleEntryDto.etag then.
term:
PsiTermDto
Defined in: src/types/inference.ts:1166
The created rule as a PsiTerm.