Reasoning

data class Reasoning @JvmOverloads constructor(val content: List<String>, val summary: List<String>? = null, val encrypted: String? = null, val id: String? = null) : MessagePart.ResponsePart(source)

Represents a reasoning message exchanged in a chat system, encapsulating the content, role, and associated metadata, with an optional reference to the original thinking process.

Constructors

Link copied to clipboard
constructor(content: List<String>, summary: List<String>? = null, encrypted: String? = null, id: String? = null)
constructor(content: String, summary: List<String>? = null, encrypted: String? = null, id: String? = null)

Convenience constructor for a single reasoning string.

Properties

Link copied to clipboard

The content of the reasoning message.

Link copied to clipboard

The encrypted content of the reasoning message.

Link copied to clipboard
val id: String?

An optional identifier for the reasoning process.

Link copied to clipboard

An optional summary of the reasoning process.