Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 918 Bytes

ModelUsage.md

File metadata and controls

32 lines (23 loc) · 918 Bytes

ModelUsage

Properties

Name Type Description Notes
model str
total_tokens int
total_cost float
var_date datetime

Example

from iblai.models.model_usage import ModelUsage

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

# convert the object into a dict
model_usage_dict = model_usage_instance.to_dict()
# create an instance of ModelUsage from a dict
model_usage_from_dict = ModelUsage.from_dict(model_usage_dict)

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