| Modifier and Type | Field and Description |
|---|---|
| private static final float |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private int | |
| public int | estimate(ChatMessage.
Implements org.
|
| public int | estimate(List<ChatMessage> messages)
Implements org.
|
| public TokenEstimatorKind |
| WORD_FACTOR | back to summary |
|---|---|
| private static final float WORD_FACTOR | |
| ByWordsTokenEstimator | back to summary |
|---|---|
| public ByWordsTokenEstimator() | |
| calculate | back to summary |
|---|---|
| private int calculate(String content) | |
| estimate | back to summary |
|---|---|
| public int estimate(ChatMessage. Implements org.
| |
| estimate | back to summary |
|---|---|
| public int estimate(List<ChatMessage> messages) Implements org.
| |
| getKind | back to summary |
|---|---|
| public TokenEstimatorKind getKind() Implements org.
| |