HistoryDigest

org.llm4s.context.HistoryDigest
case class HistoryDigest(blockId: String, blockType: String, content: String, originalTokens: Int)

Compressed digest representation of a history block.

Contains the formatted summary text and metadata about the original block.

Value parameters

blockId

Original semantic block ID

blockType

Type of the block (UserAssistantPair, StandaloneTool, etc.)

content

Formatted digest text for inclusion in conversation

originalTokens

Estimated token count of original content

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product