public interface Tokenizer
Modifier and Type | Method and Description |
---|---|
int |
countTokens(ChatMessage message) |
int |
countTokens(Iterable<ChatMessage> messages) |
int |
countTokens(String text) |
int countTokens(String text)
int countTokens(ChatMessage message)
int countTokens(Iterable<ChatMessage> messages)
Copyright © 2023. All rights reserved.