mirror of
https://github.com/hwchase17/langchain
synced 2024-11-13 19:10:52 +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")
|