Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.19 KB

File metadata and controls

31 lines (23 loc) · 1.19 KB

TokenStatistic

Точка статистики использования токенов

Properties

Name Type Description Notes
time object Время точки статистики
ingoing_tokens object Количество входящих токенов (промпты)
outgoing_tokens object Количество исходящих токенов (ответы)

Example

from timeweb_cloud_api.models.token_statistic import TokenStatistic

# TODO update the JSON string below
json = "{}"
# create an instance of TokenStatistic from a JSON string
token_statistic_instance = TokenStatistic.from_json(json)
# print the JSON string representation of the object
print TokenStatistic.to_json()

# convert the object into a dict
token_statistic_dict = token_statistic_instance.to_dict()
# create an instance of TokenStatistic from a dict
token_statistic_form_dict = token_statistic.from_dict(token_statistic_dict)

[Back to Model list] [Back to API list] [Back to README]