sizeInTokens method

  1. @override
Future<int> sizeInTokens(
  1. String text
)
override

Runs an invocation of only the tokenization for the LLM, and returns the size (in tokens) of the result.

Implementation

@override
Future<int> sizeInTokens(String text) => throw UnimplementedError();