Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.13 KB

File metadata and controls

30 lines (21 loc) · 1.13 KB

Embeddings200ResponseUsage

Properties

Name Type Description Notes
input_tokens int Number of tokens in input text(s)
total_tokens int Total tokens (same as inputTokens for embeddings)

Example

from quantcdn.models.embeddings200_response_usage import Embeddings200ResponseUsage

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

# convert the object into a dict
embeddings200_response_usage_dict = embeddings200_response_usage_instance.to_dict()
# create an instance of Embeddings200ResponseUsage from a dict
embeddings200_response_usage_from_dict = Embeddings200ResponseUsage.from_dict(embeddings200_response_usage_dict)

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