TokenEstimate

org.llm4s.types.`package`.TokenEstimate
See theTokenEstimate companion object
final case class TokenEstimate(tokens: Int) extends AnyVal

Type-safe wrapper for token estimates with accuracy indicators

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class AnyVal
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def value: Int

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product