SemanticBlockType

org.llm4s.context.SemanticBlockType
See theSemanticBlockType companion object
sealed trait SemanticBlockType

Classification of semantic block types.

Block types help compression algorithms make decisions about how to handle different conversation patterns:

  • '''UserAssistantPair''': Complete conversation turn, can be summarized
  • '''StandaloneAssistant''': Isolated response, preserve carefully
  • '''StandaloneTool''': Tool output without context, may need special handling
  • '''Other''': Unclassified, treat conservatively

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
In this article