@google/generative-ai
CountTokensRequest
Interface CountTokensRequest
Params for calling
GenerativeModel.countTokens
interface
CountTokensRequest
{
contents
:
Content
[]
;
}
Index
Properties
contents
Properties
contents
contents
:
Content
[]
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
contents
Preparing search index...
The search index is not available
@google/generative-ai - v0.7.1
Classes
ChatSession
GenerativeModel
GoogleGenerativeAI
Variables
POSSIBLE_ROLES
Type Aliases
Part
Tool
Interfaces
BaseParams
BatchEmbedContentsRequest
BatchEmbedContentsResponse
CitationMetadata
CitationSource
Content
ContentEmbedding
CountTokensRequest
CountTokensResponse
EmbedContentRequest
EmbedContentResponse
Loading...
Params for calling GenerativeModel.countTokens