Github Repo
Pinecone Docs
Preparing search index...
The search index is not available
Pinecone TypeScript SDK - v7.0.0
Pinecone TypeScript SDK
TokenCounts
Interface TokenCounts
Token counts for the input prompt and completion.
Export
TokenCounts
interface
TokenCounts
{
completionTokens
:
number
;
promptTokens
:
number
;
totalTokens
:
number
;
}
Index
Properties
completion
Tokens
prompt
Tokens
total
Tokens
Properties
completion
Tokens
completionTokens
:
number
Memberof
TokenCounts
prompt
Tokens
promptTokens
:
number
Memberof
TokenCounts
total
Tokens
totalTokens
:
number
Memberof
TokenCounts
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
completion
Tokens
prompt
Tokens
total
Tokens
Github Repo
Pinecone Docs
Pinecone TypeScript SDK - v7.0.0
Loading...
Token counts for the input prompt and completion.
Export
TokenCounts