v0.3
v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js
LangChain.js
@langchain/core
callbacks/base
NewTokenIndices
Interface NewTokenIndices
Interface for the indices of a new token produced by an LLM or Chat Model in streaming mode.
interface
NewTokenIndices
{
completion
:
number
;
prompt
:
number
;
}
Index
Properties
completion
prompt
Properties
completion
completion
:
number
prompt
prompt
:
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
completion
prompt
LangChain.js
Loading...
Interface for the indices of a new token produced by an LLM or Chat Model in streaming mode.