Interface EmbeddingsUsage.Builder1
- Enclosing class:
EmbeddingsUsage
public static interface EmbeddingsUsage.Builder1
Builder helper class.
-
Method Summary
Modifier and TypeMethodDescriptiontotalTokens(Integer totalTokens) Set the totalTokens of thisEmbeddingsUsageinstance.
-
Method Details
-
totalTokens
Set the totalTokens of thisEmbeddingsUsageinstance.- Parameters:
totalTokens- The total number of tokens used by the request.- Returns:
- The EmbeddingsUsage instance.
-