CountTokensRequest interface

Params for calling GenerativeModel.countTokens()

Signature:

export interface CountTokensRequest 

Properties

Property Type Description
contents Content[]

CountTokensRequest.contents

Signature:

contents: Content[];