Class AnthropicUsage

java.lang.Object
dev.langchain4j.model.vertexai.anthropic.internal.api.AnthropicUsage

public class AnthropicUsage extends Object
  • Field Details

    • inputTokens

      public Integer inputTokens
    • outputTokens

      public Integer outputTokens
    • cacheCreationInputTokens

      public Integer cacheCreationInputTokens
    • cacheReadInputTokens

      public Integer cacheReadInputTokens
  • Constructor Details

    • AnthropicUsage

      public AnthropicUsage()
    • AnthropicUsage

      public AnthropicUsage(Integer inputTokens, Integer outputTokens)
  • Method Details

    • getInputTokens

      public Integer getInputTokens()
    • getOutputTokens

      public Integer getOutputTokens()
    • getCacheCreationInputTokens

      public Integer getCacheCreationInputTokens()
    • getCacheReadInputTokens

      public Integer getCacheReadInputTokens()
    • toString

      public String toString()
      Overrides:
      toString in class Object