Interface protos.google.ai.generativelanguage.v1beta.ICountMessageTokensRequest (2.8.0)

Properties of a CountMessageTokensRequest.

Package

@google-ai/generativelanguage

Properties

model

model?: (string|null);

CountMessageTokensRequest model

prompt

prompt?: (google.ai.generativelanguage.v1beta.IMessagePrompt|null);

CountMessageTokensRequest prompt