mirror of
https://github.com/hwchase17/langchain.git
synced 2025-04-29 20:35:43 +00:00
5 lines
141 B
Python
5 lines
141 B
Python
import tiktoken
|
|
|
|
# This will trigger the download and caching of the necessary files
|
|
encoding = tiktoken.encoding_for_model("gpt-3.5-turbo")
|