v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js - v0.2.9
LangChain.js
langchain-azure-openai
TokenUsage
Interface TokenUsage
Interface for tracking token usage in OpenAI calls.
interface
TokenUsage
{
completionTokens
?:
number
;
promptTokens
?:
number
;
totalTokens
?:
number
;
}
Index
Properties
completion
Tokens?
prompt
Tokens?
total
Tokens?
Properties
Optional
completion
Tokens
completion
Tokens
?:
number
Optional
prompt
Tokens
prompt
Tokens
?:
number
Optional
total
Tokens
total
Tokens
?:
number
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
completion
Tokens
prompt
Tokens
total
Tokens
LangChain.js - v0.2.9
Loading...
Interface for tracking token usage in OpenAI calls.