Closed xiaojian520 closed 1 year ago
You can configure cache to reduce NET traffic.
TIKTOKEN_CACHE_DIR
Programmatically:
use Yethee\Tiktoken\EncoderProvider; $encProvider = new EncoderProvider(); $encProvider->setVocabCache('/path/to/cache'); // Using the provider
think you
You can configure cache to reduce NET traffic.
TIKTOKEN_CACHE_DIR
Programmatically: