sessionCountTokens method

Future<int> sessionCountTokens(
  1. String sessionId, {
  2. String? text,
})

Token count of the whole conversation, or of text when given.

Implementation

Future<int> sessionCountTokens(String sessionId, {String? text}) {
  throw UnimplementedError('sessionCountTokens() has not been implemented.');
}