v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.12
LangChain.js
langchain-core/utils/tiktoken
encodingForModel
Function encodingForModel
encoding
For
Model
(
model
)
:
Promise
<
Tiktoken
>
Parameters
model
:
TiktokenModel
Returns
Promise
<
Tiktoken
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
LangChain.js - v0.2.12
Loading...
"
"