Exact

org.llm4s.context.tokens.TokenizerAccuracy.Exact
case class Exact(description: String) extends TokenizerAccuracy

Exact tokenizer available (OpenAI, Azure). Token counts will match actual API usage.

Attributes

Source
TokenizerMapping.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Concrete fields

True if token counts will match actual API usage.

True if token counts will match actual API usage.

Attributes

Source
TokenizerMapping.scala