ThinkingBlock

org.llm4s.llmconnect.model.ThinkingBlock
See theThinkingBlock companion enum
object ThinkingBlock

Attributes

Companion
enum
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def isSealed(block: ThinkingBlock): Boolean

Whether block is sealed - signed text, redacted data or opaque provider data - and so valid only beside the exact message content and tool calls it came with (see AssistantMessage).

Whether block is sealed - signed text, redacted data or opaque provider data - and so valid only beside the exact message content and tool calls it came with (see AssistantMessage).

Attributes

def text(blocks: Seq[ThinkingBlock]): Option[String]

The concatenated text of the Text blocks of blocks, or None when there is none.

The concatenated text of the Text blocks of blocks, or None when there is none.

Attributes

Implicits

Implicits

implicit val rw: ReadWriter[ThinkingBlock]