Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EstimateTokenCount ¶
EstimateTokenCount はテキストのトークン数を推定 英語: 約4文字 = 1トークン 日本語: 約1-2文字 = 1トークン 混在を考慮して約2.5文字 = 1トークン
func GetModelTokenLimit ¶
GetModelTokenLimit はモデルのトークン上限を取得
func IsTokenLimitError ¶
IsTokenLimitError はエラーがトークン上限エラーかどうかを判定
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.