Skip to content

Type Alias: ConversationNotice

@kortexya/reasoninglayer


@kortexya/reasoninglayer / ConversationNotice

ConversationNotice = { kind: "pruned_features"; message: string; skipped: SkippedFeature[]; } | { kind: "value_grounding"; message: string; substitutions: ValueSubstitution[]; } | { kind: "retrieval_rescue"; message: string; recordCount: number; sorts: string[]; }

Defined in: src/types/conversation.ts:605

One thing the engine did to a conversation question before it answered.

{ kind: "pruned_features"; message: string; skipped: SkippedFeature[]; }

kind: "pruned_features"

message: string

The user-facing sentence.

skipped: SkippedFeature[]

Each (sort, feature) projection the engine dropped.


{ kind: "value_grounding"; message: string; substitutions: ValueSubstitution[]; }

kind: "value_grounding"

message: string

The user-facing sentence.

substitutions: ValueSubstitution[]

Each literal and the data value that replaced it.


{ kind: "retrieval_rescue"; message: string; recordCount: number; sorts: string[]; }

kind: "retrieval_rescue"

message: string

The user-facing sentence.

recordCount: number

The number of records the retrieval returned.

sorts: string[]

The sorts the retrieval searched, in statement order.

Every notice is a substitution the user must see: the executed query is not the question as the model translated it. message is the one-line, user-facing sentence; the other fields carry the same facts as data. Discriminated on kind.