Skip to content

Interface: RecordTurnRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Conversation / RecordTurnRequest

Interface: RecordTurnRequest

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

Request to record an externally-produced conversation turn.

Remarks

This is the durable-conversation seam for clients that drive their own model. Unlike ConversationMessageRequest, recording a turn does not run the NL→OSFQL answer pipeline — the content was already generated by a client agent (e.g. the osfcode coding agent). The backend persists the turn as a Ψ-term so it owns the durable conversation record, session memory, and downstream extraction.

Properties

content

content: string

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

The turn’s content text.


osfql?

optional osfql: string | null

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

Optional OSFQL associated with the turn (the executed query, if any).


role

role: string

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

Turn role, e.g. "user" or "assistant".