TokenBreakdown

org.llm4s.context.TokenBreakdown
case class TokenBreakdown(totalTokens: Int, messages: Seq[MessageTokenInfo], overhead: Int)

Detailed breakdown of token usage in a conversation

Attributes

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

Members list

Value members

Concrete methods

def prettyPrint(): String

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product