Skip to content

Files

Latest commit

ccaedca · Aug 1, 2024

History

History
31 lines (22 loc) · 871 Bytes

ModelCost.md

File metadata and controls

31 lines (22 loc) · 871 Bytes

ModelCost

Properties

Name Type Description Notes
model str
total_tokens int
total_cost float

Example

from iblai.models.model_cost import ModelCost

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

# convert the object into a dict
model_cost_dict = model_cost_instance.to_dict()
# create an instance of ModelCost from a dict
model_cost_from_dict = ModelCost.from_dict(model_cost_dict)

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