Home > @google/generative-ai > CountTokensRequest
Params for calling GenerativeModel.countTokens()
Signature:
export interface CountTokensRequest
Property | Modifiers | Type | Description |
---|---|---|---|
contents | Content[] |
Home > @google/generative-ai > CountTokensRequest
Params for calling GenerativeModel.countTokens()
Signature:
export interface CountTokensRequest
Property | Modifiers | Type | Description |
---|---|---|---|
contents | Content[] |