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

Properties of a CountTextTokensRequest.

Package

@google-ai/generativelanguage

Properties

model

model?: (string|null);

CountTextTokensRequest model

prompt

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

CountTextTokensRequest prompt