Skip to content

Interface: ConversationMessageRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Conversation / ConversationMessageRequest

Interface: ConversationMessageRequest

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

Request to send a message in a conversation.

Remarks

The conversation service translates natural language to OSFQL, executes it (with up to 3 self-correction retries on failure), and returns both the generated OSFQL and the results.

Reuse conversationId from a previous response for multi-turn context (pronoun resolution, follow-up queries).

Properties

conversationId?

optional conversationId: string | null

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

Optional conversation ID to continue an existing conversation. If omitted, a new conversation is created.


currentSortContext?

optional currentSortContext: string | null

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

Optional sort name hint from the current page context.


generateCertificate?

optional generateCertificate: boolean

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

When true, generate a cryptographic validity certificate for this response.


message

message: string

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

The user’s natural language message.


sessionId?

optional sessionId: string | null

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

Session ID for session tracking.