Interface protos.google.ai.generativelanguage.v1beta3.ICountTextTokensRequest (2.6.0)

Properties of a CountTextTokensRequest.

Package

@google-ai/generativelanguage

Properties

model

model?: (string|null);

CountTextTokensRequest model

prompt

prompt?: (google.ai.generativelanguage.v1beta3.ITextPrompt|null);

CountTextTokensRequest prompt