• Preparing search index...
  • The search index is not available
LangChain.js
  • LangChain.js
  • @langchain/core
  • utils/tiktoken
  • encodingForModel

Function encodingForModel

  • encodingForModel(model): Promise<Tiktoken>
  • Parameters

    • model: TiktokenModel

    Returns Promise<Tiktoken>

    • Defined in langchain-core/src/utils/tiktoken.ts:28

Settings

Member Visibility
LangChain.js
  • Loading...

Generated using TypeDoc