counter

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCharBasedCounter

func NewCharBasedCounter() blades.TokenCounter

NewCharBasedCounter returns a TokenCounter that approximates 1 token per 4 characters. This is suitable as a default when no model-specific tokenizer is available.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL