Skip to content

Interface: CoherenceInlineDocumentDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Coherence / CoherenceInlineDocumentDto

Interface: CoherenceInlineDocumentDto

Defined in: src/types/coherence.ts:29

Inline document content, ingested with clause extraction before analysis.

Remarks

Supplying this instead of documentId costs one LLM clause-extraction pass.

Example

const document: CoherenceInlineDocumentDto = {
name: 'policy-draft.md',
content: 'All employees must badge in. Contractors need not badge in.',
};

Properties

content

content: string

Defined in: src/types/coherence.ts:33

Raw document content.


name

name: string

Defined in: src/types/coherence.ts:31

Document name.