Some checks failed
ai_core_api_client Python package / build (3.10) (push) Failing after 1m16s
ai_core_api_client Python package / build (3.11) (push) Failing after 1m14s
ai_core_api_client Python package / build (3.12) (push) Failing after 5s
ai_core_api_client Python package / build (3.13) (push) Failing after 5s
ai_core_api_client Python package / build (3.9) (push) Failing after 5s
1.1 KiB
1.1 KiB
DomainUsageInfo
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| cached_tokens | int | [optional] | |
| completion_tokens | int | [optional] | |
| model | str | [optional] | |
| prompt_tokens | int | [optional] | |
| total_tokens | int | [optional] |
Example
from ai_core_api_client.models.domain_usage_info import DomainUsageInfo
# TODO update the JSON string below
json = "{}"
# create an instance of DomainUsageInfo from a JSON string
domain_usage_info_instance = DomainUsageInfo.from_json(json)
# print the JSON string representation of the object
print(DomainUsageInfo.to_json())
# convert the object into a dict
domain_usage_info_dict = domain_usage_info_instance.to_dict()
# create an instance of DomainUsageInfo from a dict
domain_usage_info_from_dict = DomainUsageInfo.from_dict(domain_usage_info_dict)