Files

1.1 KiB

Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference

{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}

ModalityTokenCount interface

Represents token counting info for a single modality.

Signature:

export interface ModalityTokenCount 

Properties

Property Type Description
modality Modality The modality associated with this token count.
tokenCount number The number of tokens counted.

ModalityTokenCount.modality

The modality associated with this token count.

Signature:

modality: Modality;

ModalityTokenCount.tokenCount

The number of tokens counted.

Signature:

tokenCount: number;