Versions in this module Expand all Collapse all v0 v0.8.3 Aug 13, 2023 Changes in this version + func EstimateTokens(inputs ...string) int + func GetMaxTokens(model string) int + func PreciseTokens(inputs ...string) (int, error) + func PreciseTokensFromMessages(messages []openai.ChatCompletionMessage, model string) (num_tokens int)