mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-17 21:25:46 +02:00
5 lines
163 B
Python
5 lines
163 B
Python
import tiktoken
|
|
|
|
# This will trigger the download and caching of the necessary files
|
|
for encoding in ("gpt2", "gpt-3.5"):
|
|
tiktoken.encoding_for_model(encoding) |