Interface: TurnDto
@kortexya/reasoninglayer / TurnDto
Interface: TurnDto
Section titled “Interface: TurnDto”Defined in: src/types/conversation.ts:1166
A single conversation turn (message).
Properties
Section titled “Properties”abstention?
Section titled “abstention?”
optionalabstention?:ConversationAbstention
Defined in: src/types/conversation.ts:1249
Why the turn abstained, set exactly when answerState is abstained.
answerState?
Section titled “answerState?”
optionalanswerState?:ConversationAnswerState
Defined in: src/types/conversation.ts:1247
verified or abstained on a turn that answers a question (proposal for
a proposed write); absent on a turn that answers none. A verified answer
states only the claims; an abstained one
states no fact.
claimAnnotations?
Section titled “claimAnnotations?”
optionalclaimAnnotations?:ClaimAnnotationDto[] |null
Defined in: src/types/conversation.ts:1188
Per-claim provenance annotations (assistant turns only).
claims
Section titled “claims”claims:
VerifiedClaim[]
Defined in: src/types/conversation.ts:1254
The factual sentences of the answer, in order, each confirmed by a bound row or derived by a rule. Nothing else of the answer states a fact.
content
Section titled “content”content:
string
Defined in: src/types/conversation.ts:1176
Message content.
feedback?
Section titled “feedback?”
optionalfeedback?:TurnFeedback
Defined in: src/types/conversation.ts:1204
The user’s rating of this answer, when one was submitted with
submitAnswerFeedback (assistant turns only).
followUpOf?
Section titled “followUpOf?”
optionalfollowUpOf?:string|null
Defined in: src/types/conversation.ts:1168
Earlier turn whose web reading this one completes.
framePages
Section titled “framePages”framePages:
FrameAuthoringPageRevision[]
Defined in: src/types/conversation.ts:1275
Readable Frame page revisions committed while executing this Work turn.
id:
string
Defined in: src/types/conversation.ts:1170
Turn ID.
intent?
Section titled “intent?”
optionalintent?:string|null
Defined in: src/types/conversation.ts:1182
Classified intent (assistant turns only).
nextQuestions
Section titled “nextQuestions”nextQuestions:
ConversationNextQuestion[]
Defined in: src/types/conversation.ts:1273
Follow-ups, recomputed from the evidence stored with this turn.
osfql?
Section titled “osfql?”
optionalosfql?:string|null
Defined in: src/types/conversation.ts:1185
OSFQL generated (assistant turns only).
payload?
Section titled “payload?”
optionalpayload?:unknown
Defined in: src/types/conversation.ts:1198
Opaque structured card state recorded with the turn by an external surface (see RecordTurnRequest.payload). Returned verbatim.
presentation?
Section titled “presentation?”
optionalpresentation?:unknown
Defined in: src/types/conversation.ts:1277
The result view the live answer carried; absent when the rows are not shown as its result.
proofTrace?
Section titled “proofTrace?”
optionalproofTrace?:ProofTraceNodeDto|null
Defined in: src/types/conversation.ts:1210
Proof tree of the answer (assistant turns only): the same value the live answer carried in ConversationMessageResponse.proofTrace.
queryResults?
Section titled “queryResults?”
optionalqueryResults?:Record<string,OsfqlValue>[] |null
Defined in: src/types/conversation.ts:1192
MATCH result rows (assistant turns only), persisted by the backend so a “show me a table of X” answer keeps its table across a reload.
reasoningTrace?
Section titled “reasoningTrace?”
optionalreasoningTrace?:ReasoningTraceDto|null
Defined in: src/types/conversation.ts:1216
Reasoning trace of the answer (assistant turns only): the same value the live answer carried in ConversationMessageResponse.reasoningTrace.
role:
string
Defined in: src/types/conversation.ts:1173
“user” or “assistant”.
strippedClaims
Section titled “strippedClaims”strippedClaims:
StrippedClaim[]
Defined in: src/types/conversation.ts:1256
The sentences the engine removed from the drafted answer, with why.
timestamp
Section titled “timestamp”timestamp:
string
Defined in: src/types/conversation.ts:1179
ISO 8601 timestamp.
toVerify?
Section titled “toVerify?”
optionaltoVerify?:ToVerifyPoint[]
Defined in: src/types/conversation.ts:1258
Points the engine marked for verification, in display order.
unconfirmed?
Section titled “unconfirmed?”
optionalunconfirmed?:UnconfirmedRecord[]
Defined in: src/types/conversation.ts:1265
What the query returned that no person confirmed, shown as unconfirmed and never used as support.
unreadPages?
Section titled “unreadPages?”
optionalunreadPages?:UnreadPages[]
Defined in: src/types/conversation.ts:1271
The documents the answer drew on that were not read whole, with the pages not read and why. What those pages say is absent from the answer, and the turn says so.
validityCertificateHash?
Section titled “validityCertificateHash?”
optionalvalidityCertificateHash?:string|null
Defined in: src/types/conversation.ts:1228
SHA-256 hash of the validity certificate (assistant turns only): the same value the live answer carried.
validityCertificateId?
Section titled “validityCertificateId?”
optionalvalidityCertificateId?:string|null
Defined in: src/types/conversation.ts:1222
ID of the validity certificate (assistant turns only): the same value the live answer carried.
validityCertificateRuleProgramHash?
Section titled “validityCertificateRuleProgramHash?”
optionalvalidityCertificateRuleProgramHash?:string|null
Defined in: src/types/conversation.ts:1234
Hex SHA-256 of the rule program active when the certificate was issued (assistant turns only): the same value the live answer carried.
validityCertificateRuleRevision?
Section titled “validityCertificateRuleRevision?”
optionalvalidityCertificateRuleRevision?:number|null
Defined in: src/types/conversation.ts:1240
Rule-program revision ordinal at issuance (assistant turns only): the same value the live answer carried.
webSources?
Section titled “webSources?”
optionalwebSources?:WebSource[]
Defined in: src/types/conversation.ts:1260
Pages read during this turn’s web search.