Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CountWords ¶
CountWords returns the number of words in a string
func EstimateCost ¶
EstimateCost calculates estimated cost based on model and token count
func EstimateTokens ¶
EstimateTokens provides a rough estimation of token count This is a simplified version - actual tokenization varies by model
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.